LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   why compile source code for installing package? (https://www.linuxquestions.org/questions/linux-server-73/why-compile-source-code-for-installing-package-638352/)

olddocks 04-28-2008 05:15 AM

why compile source code for installing package?
 
sorry, i am a beginner in linux and just want to know the basic question. why people compile packages to install a software instead of doing RPM or apt installation. is compiling source of any advantage?

datopdog 04-28-2008 05:20 AM

Well at times there are no packages for specific software or the package shipped with the distro has some features disabled or the version is far lower than the source one.

I would say it is not advisable to use source packages on a binary distro cos you then loose the advantage of updating from the upstream when there is a security problem you have to monitor and rebuild your package each time there is a security issue which is easier said than done.

hemi_426 04-28-2008 05:23 AM

rpm and apt compiles the source b4 installing it automaticaly,
compiling is for the system to recognize the package if it suits it or not.

correct me guys if im wrong.....

datopdog 04-28-2008 05:35 AM

rpm and apt do not compile packages on the fly, they simply install precompiled binary packages.

hemi_426 04-28-2008 05:49 AM

thanks , good to know that

jbilla 04-28-2008 08:50 AM

RPM APT Benefits: In rpm and apt you can get the package installed in single command without any headache. If any thing goes wrong with permission on / /var or /usr you can just update the rpm and your permission issue will resolved in a min and thats not the case with.

Source code Package Benefits : You will have your own module that you can configure while installing it and that you wont get in rpm cause there are specific modules in rpm you cant add some extra module or remove some module from any rpm installed package software.

smus 04-29-2008 12:21 AM

this is whay we are saying open source..


All times are GMT -5. The time now is 01:38 AM.