LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hi Guys (https://www.linuxquestions.org/questions/linux-newbie-8/hi-guys-848510/)

orrif 12-05-2010 03:36 PM

Hi Guys
 
I'm new here and already having a lot of fun!
What's the difference between YUM TAR.GZ and RPM when I have to download an app to install?

indienick 12-05-2010 03:40 PM

Welcome to LQ, orrif!

An RPM is a package for systems that use the "rpm" package manager (which, Fedora does).
A *.tar.gz file is usually source code that has to be compiled; it is just a compressed archive format.
Now, I have to apologize as I do not use Fedora, RedHat or CentOS, but I have no idea what a YUM file is; I know "yum" - the command - is used to install packages from the command-line, but I don't know/didn't know if it was an actual file format of some kind, now.

chrism01 12-05-2010 05:28 PM

Yum is actually the pkg mgr Sw for .rpm style pkgs. If you use this cmd, it will automatically take care of dependencies for you.
The prevous tool before yum was known as up2date.
http://kbase.redhat.com/faq/docs/DOC-2531

indienick 12-05-2010 11:09 PM

Thanks for that, chrism01. I didn't know if YUM had become a specialized MIME-type. Maybe like a control file for yum, or something.

salasi 12-09-2010 11:10 AM

Quote:

Originally Posted by orrif (Post 4181575)
What's the difference between YUM TAR.GZ and RPM when I have to download an app to install?

You ask 'what are the differences', but I think that all that you need to know is that they are different. Packages (roughly, applications plus the libraries that they need) are commonly supplied in these formats (and .deb...let's not leave them out).

What you really need to know is that whatever distro you are using uses the package format and system that it uses and that's the one that you want. The exact differences between them are essentially irrelevant for this purpose; you want the one that you want.

Quote:

...when I have to download an app to install?
In most cases, your distro will maintain a repository (several, actually) which contains packages lovingly crafted for your system. The distro will almost certainly have some app for grabbing packages (installer/updater/synaptic/yast/yum/zypper or whatever) from their repositories and installing them on your system. you should use it whenever possible as it is:
  • easier
  • less likely to cause problems

Of course, if you feel that you really need to take another approach, that would be possible, but why would you do it?

Nylex 12-09-2010 11:50 AM

Quote:

Originally Posted by orrif (Post 4181575)
I'm new here and already having a lot of fun!
What's the difference between YUM TAR.GZ and RPM when I have to download an app to install?

Please, in future, use decent thread titles - ones that say something about your question or problem, as you're told to when posting threads here.


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