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 12-12-2006, 05:54 PM   #1
tekmann33
Member
 
Registered: Nov 2006
Posts: 188

Rep: Reputation: 30
Tarballs and rpm's


Does anyone know a good tutorial on tarballs and rpm installs? I am not talking about commands, but under the hood kind of stuff so someone can get a good idea what is going on when one installs a tarball in lieu of a rpm...or vice versa

As well as a tutorial for the above, I was wondering if there was a concise introduction to the differences between installing from binary or from source.
 
Old 12-12-2006, 06:20 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
One of those wonderful common points of confusion...

A "tarball" is slang for any archive generated by the TAR utility (file extension .tar). These can also be compressed with GZIP (.gz extension), or BZIP (.bz extension)

So you can have files ending in .tar , .tar.gz (or .tgz), tar.bz, .gz , or .bz
ANY of these can contain application, source code, or pictures of your kids. You don't install these, you uncompress them, unpack them, etc.

Package managers have their own extensions---eg .rpm for the RPM package manager. These file are typically opened using the package manager SW, as in "rpm --install someapp.rpm"

The unpacked archive could also contain source code or executables. In both cases, there would likely be additional instructions for install and setup.

Always start with your package manager in the GUI. Once you know about repositories and such--and you know the name of an application, you can get it on the command line. Documentation includes man pages--eg "man rpm"
 
Old 12-12-2006, 06:27 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Also, to continue pixellany's expo, pkg managers automatically resolve & load dependencies.
A vital fn if you don't want to end up pulling your hair out
 
  


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
difference between source rpm's and tarballs saipraveen Linux - Newbie 3 10-17-2005 10:21 PM
Are source RPM's and binary RPM's installed the same way? Simon Adebisi Linux - Software 3 06-28-2005 04:45 AM
Question on tarballs and .rpm's... tarballed Linux - Software 2 07-18-2003 11:29 PM
tarballs moger Linux - General 4 09-04-2002 04:17 AM
tarballs MasterC Linux - General 5 05-15-2002 02:44 PM


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

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