Re: Whats the difference?



Rob H wrote:
Hi,

Can anyone tell me;

What is the difference between a RPM package and a tar.gz package?

tar.gz - These files are an archive, like a Windows zip file. You just
unpack them to somewhere like you do with a zip file. Most tar.gz's
will contain source code, so you can compile the software they contain,
but some also contain pre-compiled executable software that can be run
from the folder you unpack them to. If there are additional softwares
that are required to be installed to make source code compile you will
normally need to track down and compile that for yourself.

rpm - These are similar to a zip file again, but contain additional
info. You normally use a package management system to install the
software they contain (in SuSE use YaST). Most contain pre-compiled
software, a few contain source code. The best thing about them is that
you can install and remove them with YaST. YaST has a list of the
ones you have installed, and also ones that are available to install
from your CD/DVD's, and internet based ones you may wish to add in.
If one you want to install also requires other softwares/libraries to
work properly, YaST will select and install those too automatically,
so you don't need to do that yourself.

Source code in tar.gz files can be compiled to utilise features of your
own machine to run faster than software in an rpm file, which is usually
compiled for generic x86 machines so all x86 type CPU's can use it. The
rpm system is however easier to use/manage. If you're desperate to get
the last few % of performance from your software tar.gz source code is
the way to do that, but if you require easier management of what you
install and remove then rpm is the go...

--
Kind regards,

Chris Wilkinson, Brisbane, Australia.
Anyone wishing to email me directly can remove the obvious
spamblocker, and replace it with t p g <dot> c o m <dot> a u


.



Relevant Pages

  • Re: cookbook to installing/configuring WPA
    ... It could be there are some magic RPM's you can install to ... kernel compile ... and before that some version of RedHat. ... including the source code for your running kernel. ...
    (comp.os.linux.networking)
  • [HPADM] SUMMARY: less getting "WARNING: terminal is not fully functional"
    ... Inspection of the less source code suggests that is it missing termcap ... The box in question is a relatively fresh install of 11.23 HP-UX on ia64 ... Itanium servers. ... but then you will have to compile your own less binaries. ...
    (HP-UX-Admin)
  • Re: [SLE] [General] Installing compiled sources over network.
    ... >> The RPM that is availabe is broken, so i have to recompile it. ... > the easiest way to do it is to install the standard SuSE ssh RPM first ... Then, compile ssh from ... After extracting the ssh source code, ...
    (SuSE)
  • Re: dependency problems w/mailscanner
    ... I guess I'll just download the new version and compile the ... >> I am a little disappointed in rpm at the moment. ... I did finally get MailScanner to install. ...
    (RedHat)
  • Re: Build Service
    ... wich then again can be in a larger repository. ... source code of a program and then I compile it, ... If you make it into an RPM, ...
    (alt.os.linux.suse)