LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-05-2010, 04:36 PM   #1
orrif
LQ Newbie
 
Registered: Dec 2010
Distribution: debian
Posts: 2

Rep: Reputation: 0
Smile 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?
 
Old 12-05-2010, 04:40 PM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 12-05-2010, 06:28 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,247

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
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
 
Old 12-06-2010, 12:09 AM   #4
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
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.
 
Old 12-09-2010, 12:10 PM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,059

Rep: Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883Reputation: 883
Quote:
Originally Posted by orrif View Post
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?
 
Old 12-09-2010, 12:50 PM   #6
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by orrif View Post
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.
 
  


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
hello,guys zhangjunyi LinuxQuestions.org Member Intro 1 02-04-2010 01:10 PM
Hi guys IshanJ LinuxQuestions.org Member Intro 1 08-14-2008 07:31 AM
Hello, guys itnewbie LinuxQuestions.org Member Intro 2 08-12-2008 01:14 PM
Hello Guys... arisbeat LinuxQuestions.org Member Intro 1 08-01-2008 09:32 AM


All times are GMT -5. The time now is 08:52 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