LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-28-2008, 05:15 AM   #1
olddocks
LQ Newbie
 
Registered: Dec 2006
Posts: 23

Rep: Reputation: 15
Post 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?
 
Old 04-28-2008, 05:20 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
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.
 
Old 04-28-2008, 05:23 AM   #3
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Rep: Reputation: 15
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.....
 
Old 04-28-2008, 05:35 AM   #4
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
rpm and apt do not compile packages on the fly, they simply install precompiled binary packages.
 
Old 04-28-2008, 05:49 AM   #5
hemi_426
Member
 
Registered: Apr 2008
Location: KSA-jeddah
Distribution: CentOS, gentoo, slackware
Posts: 80

Rep: Reputation: 15
thanks , good to know that
 
Old 04-28-2008, 08:50 AM   #6
jbilla
LQ Newbie
 
Registered: Apr 2008
Posts: 19

Rep: Reputation: 0
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.
 
Old 04-29-2008, 12:21 AM   #7
smus
Member
 
Registered: Nov 2005
Location: Turkey
Distribution: Suse
Posts: 104

Rep: Reputation: 16
this is whay we are saying open source..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for source code for stty -- what package? dovkruger Linux - General 1 10-24-2007 11:23 AM
how i compile a source code? nazib Linux - General 5 02-27-2005 09:13 AM
Source code for rh9 games package??? Quantum0726 Red Hat 0 12-29-2003 02:42 PM
how to compile redhat 9.0 source code. wood Linux - General 5 09-16-2003 10:05 AM
How to compile source code... Grim Reaper Linux - Newbie 3 04-26-2002 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration