LinuxQuestions.org
Review your favorite Linux distribution.
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 03-29-2003, 07:06 AM   #1
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Rep: Reputation: 30
src vs bin


I would like to know what is the difference between a source packetage and a binary packetage?
 
Old 03-29-2003, 07:14 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
As far as I know, a source package is one you compile yourself and a binary is precompiled. So binaries can't be adjusted if you've got a weird system or optimized for your system. With source, you still might have problems if essential things are missing, but it's more flexible and can be tailored to your system. Plus, if you're a programmer, you've got the code to hack. Even as a non-programmer, you can try to do some configuring for install.

Basically, binaries are ready to go and source takes more work for better results. Source results in a binary; binary came from source.

At least, that's my understanding.
 
Old 03-29-2003, 10:40 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sounds good to me! I think the only thing I would have added is that source code is usually available for MOST (if not all) of your open source/GNU software; whereas a binary doesn't have to be, and sometimes is specifically not (as in issues with questionable applications like xvid).

Cool
 
Old 03-29-2003, 12:16 PM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Think of it like furniture:

Source = flat pack, self-assembled stuff, ie more effort.
Binary = pre-assembled, works out of the box (hopefully)
 
Old 03-29-2003, 01:10 PM   #5
c0c0deuz
Member
 
Registered: Aug 2001
Location: Qc, Canada
Distribution: RedHat, Mandrake, FreeEOS
Posts: 336

Original Poster
Rep: Reputation: 30
Thanks
I like this one, mhearn!
 
  


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
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 11:30 AM
updatign nv drivers states need precompiles kernel src i have src and headers no joy gonus Debian 6 10-31-2004 11:21 AM
How to unzip all the src files in linux src folder? raj_ice Linux - Newbie 1 10-15-2004 10:46 AM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 10:27 AM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM


All times are GMT -5. The time now is 02:36 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