Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-12-2003, 06:36 PM   #1
Registered: Jan 2003
Location: Florida, USA
Distribution: Slackware
Posts: 169

Rep: Reputation: 30
Question about Source Code

I've used Red Hat, Slackware, and now i'm putting together a system from scratch. Needless to say, i've encountered alot of source code.

I'm wondering though, what the difference is between compiling/installing from source using a host linux and installing packages on a fresh machine from a linux iso for instance. Are the packages on a Slackware iso source code? When i install from CD is it precompiled? If not, what is actually allowing me to compile/install from an iso without a host linux?

Any answers would be appreciated as would pointing me to more info on source code and compiling an packages and all that stuff...

Old 03-12-2003, 06:43 PM   #2
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
In Redhat's case you are loading precompiled binaries. The source code available as src.rpm is there, too; but you are loading a binary.

This is generally a non-issue. The speed difference between arch_386 and i686 is generally unnoticable in the scheme of things. The slowest resource in the system is you.

The advantage of compiling from source is that you will 1) know what's there; 2) know where it is and 3) usually know why it is there. I think that a good LFS build or a gentoo build (though gentoo is non-standard(!) about some scripts and such) is well worth the effort. YMMV.

Old 03-12-2003, 10:49 PM   #3
Senior Member
Registered: Sep 2002
Location: Arizona, US, Earth
Distribution: Slackware, (Non-Linux: Solaris 7,8,9; OSX; BeOS)
Posts: 1,152

Rep: Reputation: 49
From what I've seen, all installations are performed with precompiled
binaries. It would take hours to days to compile every program as it
was installed, that's part of the service distribution companies offer.
The Slack install is all precompiled for i386 (or SPARC or Alpha. . .),
though you have easy access to all the source if you buy the
multi-disk set.
Old 03-12-2003, 10:58 PM   #4
Registered: Jan 2003
Location: Florida, USA
Distribution: Slackware
Posts: 169

Original Poster
Rep: Reputation: 30
So does using precompiled binaries hinder performance or stability at all, as opposed to compiling from scratch?

I've been doing alot of ./configure with slack and, of course... with LFS. Obviously the config scripts are important, right? So what happens with precompiled binaries? No config?


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A source code housekeeping question Dewar Linux - General 1 12-11-2003 07:02 PM
Question Regarding the Darwin and Aqua Source code VampiricuS Linux - Newbie 1 10-20-2003 04:34 PM
Another source code question. JMC Linux - General 3 05-28-2002 01:58 AM
Question about source code locations hanzerik Linux From Scratch 4 02-06-2002 09:33 PM
source code and platform question iggymac Linux - Software 3 01-24-2002 05:43 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:05 PM.

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