this post was submitted on 27 Oct 2023
176 points (100.0% liked)

196

16501 readers
2186 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 32 points 1 year ago

Building from source is also just cooler. People be lookin' if you have blender I stalled, but can't uninstall it with your package manager. (Super useful)

Also, for tech noobs you can say "I built that".

[–] [email protected] 17 points 1 year ago (1 children)

No I compile my electron apps with -fno-electron

[–] [email protected] 2 points 1 year ago

I've tried finding out how you package an electron app, but I didn't find any step where you could put a command line option like that.

[–] [email protected] 12 points 1 year ago

It is useful to be able to do. I've had a few instances where I needed to swap out some lines of code or change a build flag before a bit of software would work properly.

[–] [email protected] 11 points 1 year ago (1 children)

Install gentoo. Then you'll be building the defaults for the rest of your life.

[–] [email protected] 8 points 1 year ago* (last edited 1 year ago)

building the defaults with the -march=native compiling flag*

[–] [email protected] 10 points 1 year ago

Imagine using software where the defaults are good.

[–] [email protected] 8 points 1 year ago

Not everything needs to be built from source, true, but certain software that isn't in wide distribution may have source as the only option.

Or maybe some tool hasn't been properly updated and errors on your computer, maybe you can debug it and change a small amount of source code to fix it. Maybe the source release is far ahead of the stable binary release and you want to test or use new features.

If you download the source for something like linux or ffmpeg or your favorite emulator, you will learn a whole lot by doing a deep dive.

However. Gentoo. Have you ever built firefox from source? That shit contributes to global warming. It takes so much time and CPU power to build such a heavyweight application from source and the tangible productivity benefit that you get from compiling on your own machine rather than downloading a binary is far outweighed by waste from the sheer active CPU and real time spent building. Maybe if you had a threadripper distcc setup, and only a dial-up connection to update source, it would be faster to compile everything than to get new binaries all the time. But for everyone else, if all you want to do is use the software, downloading binaries for the most popular applications is the way to go.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I can add debug logs if the need arise