LinuxQuestions.org
Register a domain and help support LQ
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 08-17-2015, 08:59 PM   #1
debgross1959
LQ Newbie
 
Registered: Aug 2015
Posts: 2

Rep: Reputation: Disabled
What situations call for source code packages?


I know from research that the debate over source vs binary is close, with maybe source edging out binary a tiny bit. I would like to know what situations would source code definitely be the way to go. I know this is a very generic question but I guess I'm just looking for some generic answers! Thanks in advance!
 
Old 08-18-2015, 08:34 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: Sutton, MA. USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu
Posts: 4,101
Blog Entries: 10

Rep: Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524Reputation: 1524
Why don't you cite the research which supports your first statement?
 
1 members found this post helpful.
Old 08-18-2015, 09:28 AM   #3
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
The only time I know of that source beats binary is when a security patch is supplied (or the source has been patched) in source before the binaries from a distribution are ready; AND there is an ongoing threat.

It was this reason I used to automatically rebuild sendmail, bind, ssh, ntp, and a few other tools, from source. At the time I was supporting IRIX, Solaris, and Linux systems. These projects tended to have security fixes provided faster than the official corporate repositories would have them.

The downside is that you have to accept the responsibility for final/production testing.
It allowed me to pass a number of security audits where others would fail. We called it "proactive support". Where source wasn't available (Some Solaris/Irix systems and tools, and no mitigation known) we would still fail.

The only OTHER situation is where the tool/utility didn't work properly, but where the latest source would (SAMBA fit this a couple of years ago, the performance of the available binary sucked, but the latest updates fixed that, so we replaced the binary with a locally compiled source).

The downside is that you have to accept the responsibility for production testing.

Last edited by jpollard; 08-18-2015 at 09:33 AM.
 
1 members found this post helpful.
Old 08-18-2015, 09:49 AM   #4
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,478

Rep: Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020
There are things that, yes, you can build it yourself from source but, no, you probably don't need to do that.

For example: Oracle Java, Oracle VirtualBox, Apache OpenOffice, The Document Foundation LibreOffice are all open source but are also all available as "installable" packages.

Similarly, Mozilla Firefox, Thunderbird and SeaMonkey (all of which can be built from source).

Thing is, if you're a purist you will take the time and trouble to download the source, read the build instructions and have at it. If the build is successful, installs and works, there you go.

You will spend hours doing so and, essentially, you're just watching compilation fly by on the screen.

On the other hand, there are any number (probably in the millions) of packages, utilities, tools, whatever that are only available as source and almost always come with a configure-make-make install method for building -- there is nothing whatsoever wrong with building from source in those cases and you'll have a piece of software that you would not otherwise have access to. You may, in some cases, need to install required packages before you can build the one you really want (and they'll most likely be configure-make-make install too). You can build an entire Linux system from source if you want to (might take a while, that).

You may want or need to enable an option in a ready-built package and, having the source, you can do that.

It's really a balance between availability and time (yours). I build from source, I download and install already-built package software.

It's pretty much up to you.

Hope this helps some.
 
1 members found this post helpful.
  


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
LXer: TISA Agreement Might Outlaw Governments From Mandating Open Source Software In Many Situations LXer Syndicated Linux News 0 06-07-2015 07:51 AM
modifying linux packages source code zvivek Linux - General 4 03-11-2012 12:58 PM
where will i get source code for linux packages ? raagu Linux - Software 1 05-02-2008 06:52 AM
source code packages from repositories fakie_flip Linux - Newbie 1 10-19-2007 04:36 PM
Packages vs Source Code Swampy Linux - General 2 08-19-2003 10:15 AM


All times are GMT -5. The time now is 05:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration