LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-20-2010, 09:30 PM   #1
buttercup121610
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
Advantages and disadvantages of source over compiled packages


What are the advantages and disadvantages of using source packages over compiled packages?
 
Old 10-20-2010, 09:42 PM   #2
grail
Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 7,442

Rep: Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880Reputation: 1880
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.
 
Old 10-20-2010, 09:49 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
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.

Last edited by damgar; 10-20-2010 at 09:52 PM.
 
Old 10-20-2010, 09:54 PM   #4
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,732
Blog Entries: 12

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
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
 
  


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
advantages/disadvantages of Slackware? maniac matt Slackware 51 04-17-2008 05:38 AM
advantages and disadvantages of nat prerouting / postrouting? Teomari Linux - Networking 2 04-13-2007 08:28 PM
Advantages and disadvantages of external drives General Linux - Hardware 2 06-11-2006 12:15 AM
Source vs Binary Disadvantages & Advantages of each! RobNyc Linux - General 1 03-18-2005 10:27 PM
Advantages and disadvantages of installing Gentoo GNU/Linux using Stage 1 blood_omen Linux - General 8 01-27-2005 08:37 PM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration