LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Advantages and disadvantages of source over compiled packages (https://www.linuxquestions.org/questions/linux-newbie-8/advantages-and-disadvantages-of-source-over-compiled-packages-839437/)

buttercup121610 10-20-2010 09:30 PM

Advantages and disadvantages of source over compiled packages
 
What are the advantages and disadvantages of using source packages over compiled packages?

grail 10-20-2010 09:42 PM

disadvantages
- working out the right setting to make it worth your while as some compiles can be time intensive
- it may not work after compiling

advantages
- Should make the executable the most responsive it can be for your system as it can be tweaked to exactly what you need

Generally I think it boils down to what you can be bothered doing or if you want someone else to do the hard yards for you.

damgar 10-20-2010 09:49 PM

Grail's comment pretty well covers it, but there is also the control over optional features. Most programs will have optional features that can be toggled in the configuration stage, as well as optional dependencies that may or may not be availabe in the official package.

An example I can think of is sftp support in konqueror in the official Slackware KDE packages (or at least the semi-official ones that Alien BOB created which are generally the same). The official package lacks the support because there is an optional package missing from the base system therefore you would have to use something like fish if you were wanting to do file transfers graphically via the GUI. However installing that missing package and rebuilding part of KDE allowed me to have sftp support.

Also note that some systems make building from source much easier than others. Also note that if you use a system with a package manager, which most distros do have, it's best not to simply install the program with "make install," but rather to compile and create a package that the package manager can install, because it makes for a much cleaner and flexible system as a whole when it comes time to add, remove or upgrade software.

craigevil 10-20-2010 09:54 PM

Includes reason why to compile and reasons not to compile
How-To: Compile Programs From Source in Linux | Maximum PC
http://www.maximumpc.com/article/how...m_source_linux

Compiling Programs from Source - LinuxQuestions.org
http://www.linuxquestions.org/linux/...ms_from_Source


All times are GMT -5. The time now is 02:33 AM.