Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 04-29-2003, 08:57 PM   #1
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
Question What's the difference between source and biniary downloads?

I've been seeing linux sites having apps with these two options. Which one is self-installing? the binary? Or neither?
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
Force Flow is offline   Reply With Quote
Old 04-30-2003, 09:10 AM   #2
Member (10 bit)
 
LocoCoyote's Avatar
 
Join Date: Jan 2003
Location: Germany
Posts: 537
Send a message via Yahoo to LocoCoyote Send a message via Skype™ to LocoCoyote
OK, this is comin' from good old Linux newbie me, but as I understand this mess (and it IS a mess. For installing apps give me Windows everytime!) but the source (ie .tar.gz) need to be unzipped (gzip) and untarred (tar) then compiled. The Binarys are supposed to be the complete package rolled up into a (mostly) self installing package. Truth to tell though I have had better luck (ie fewer missing dependency problems) with the .tar.gz downloads. Just a side note, but I am playing with ximian's Red Carpet updater. It has helped me install some stuff that I had no luck with in either the .tar.gz or either rpm format.
This all comes from my ongoing "Give Linux a chance" project!

Hope that helps
__________________
Nisi defectum, Exploro quippini
LocoCoyote is offline   Reply With Quote
Old 04-30-2003, 11:59 AM   #3
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
Ah-ha! So that's why there's two extentsions!

Are there any basic instructions on how to install binaries?
Force Flow is offline   Reply With Quote
Old 04-30-2003, 03:45 PM   #4
Member (11 bit)
 
Join Date: Apr 2003
Posts: 1,525
If your using an rpm based distro like Mandrake or Redhat, the binaries all come precompiled for the specific distro and will have a .rpm extension. To install you download the rpm, click on the file, enter your root password and if all goes well, the program will be automatically installed.
That's a pretty big "if" however. Not infrequently, the installation program will spit out an error message telling you that there are unmet dependencies and you get a list of other rpms you need to install before you can install the one you want. To get around this problem known as dependency hell, Mandrake uses a system known as urpmi. Once you set up sources which are just internet repositories for Mandrake rpms, urpmi will automatically download the needed dependencies, install them and then install the package you want. It works great, especially if you have broadband.
Debian based distros have a similar system for getting around dependency hell called apt-get. Redhat doesn't have urpmi but it can be setup to work with apt-get and there are well known source repositories for redhat rpms.
You can frequently install rehat compiled rpms on Mandrake and vice versa and many rpm packages are listed as for rehat 7.2 or some other redhat version but will install and run fine on Mandrake. If your distro doesn't like the redhat rpm, it will spit out an error message when you try to install it about incompatabilities with previously installed packages and abort the install so there's generally no downside to trying.
kilgoretrout is offline   Reply With Quote
Old 04-30-2003, 04:30 PM   #5
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
I generally always use source since you have more control over where things install and any options. For instance, after downloading a source file, you would do something like from the shell (command line):
tar -xvzf filename.tar.gz
cd new directory created when deflated
./configure --help (lists options for installation)
./configure --with-options
make
make install
mairving is offline   Reply With Quote
Old 04-30-2003, 05:17 PM   #6
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
I'm using Mandrake 9.1 (see sig )

Thanks for the explainations, guys!
Force Flow is offline   Reply With Quote
Old 04-30-2003, 07:09 PM   #7
Member (11 bit)
 
Join Date: Apr 2003
Posts: 1,525
Plf is a great Mandrake source repository. Check out this link to see how to set up sources:

http://plf.zarb.org/~nanardon/

Another good resource for Mandrake is the unofficial Mandrake users board which you can find here:

http://www.mandrakeusers.org/

It's actually much better than the official Mandrake Club and its free.
kilgoretrout is offline   Reply With Quote
Old 05-01-2003, 10:08 PM   #8
Member (8 bit)
 
jglen490's Avatar
 
Join Date: Mar 2002
Location: An ancient aircraft hangar.
Posts: 185
Ya'll are telling the truth, but not necessarily the whole truth. Gzipped tarballs are a form of file distribution, but not every .tar.gz is a source file, it may simply be an installer wrapped in gzipped tarball "skin". Another form of binary distribution is files that end in .bin. This, too, is an installtion package, but typically these are strictly binary package containers.

It's very important that you read the instructions at the place where you get your file. Find out whether you are getting a source file, or a binary installation package.

A tarball .tar is simply an archive (usually multi-file), originally "Tape ARchive", thus "tar". A tar file can then be further gzipped (a compressed file usually compatible with WinZip or PKZip) and get a .gz filename extention.
jglen490 is offline   Reply With Quote
Old 05-02-2003, 09:15 PM   #9
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
Thanks guys!
Force Flow is offline   Reply With Quote
Old 05-03-2003, 04:43 PM   #10
Member (9 bit)
 
Join Date: Jan 2000
Location: Atwater Mn. USA
Posts: 429
Hi,

Just to add to the confusion, there are also .src.rpms also. These rpms are also source.

People looking for the most preformance from their boxen prefer source. Gentoo is a distro that everything is done by compiling from source. Once you get the hang of it, it's pretty simple to do. When you compile your own, you get a binary that is built for your box. Plus, you can add "switches" to add or decrease optimizations. That is why it sometimes installs better than the binaries do. Plis, it just feels soooo good to compile.

OOPS!
__________________
If you think you understand what's going on. Then you haven't been paying attention.

Last edited by OOPS!; 05-03-2003 at 04:46 PM.
OOPS! is offline   Reply With Quote
Old 05-03-2003, 04:58 PM   #11
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,384
OOPS!, you're right about adding to the confusion, Lol
Force Flow is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:14 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2