[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: R.png (44 KB, 670x206)
44 KB
44 KB PNG
What is the point of manually compiling something yourself, instead of just downloading the ready-made program?

Pic unrelated.
>>
>>107706900
There are many reasons to compile from source, here are some just off the top of my head:
1. The package you're looking for is not available in your repo, thus compiling from source is the only option to get it
2. The package you're looking for is available in your repo, but it's an outdated version (especially true on stable distros like debian), in that case compiling from source is the only way to get the newer version
3. The package you're looking for is available in your repo, but it lacks a compile time option (an actual example i can remember is when debian disabled some extensions at compile time for keepassxc for security reasons, if you wanted those features back you had to recompile it), in this case recompiling is the only way to get those disable features.
3. You run into dependency hell, compiling from source can sometimes fix that
>>
Compiling software yourself offers several advantages, such as the ability to customize it for your specific system. You can optimize performance based on your hardware, select which features to include or exclude, and adjust settings to suit your needs. This can result in faster, more efficient software tailored to your environment.
Another benefit is increased control and transparency. By compiling from source, you can inspect the code for security and ensure it hasn’t been tampered with. This is particularly important when dealing with open-source software, where you can verify the integrity of the code before running it on your machine.

On the downside, compiling software can be time-consuming and complex. It requires understanding how to manage dependencies and configure the build process. For most users, downloading a precompiled version is quicker and easier, especially if they don’t need any customization or the latest features.
>>
>>107706900
If you're applying any patches to the software. Otherwise if a binary is available there is 0 reason to unless you have some kind of minimalism autism and need to exclude things from the build
>>
makes it go faster



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.