Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-15-2006, 07:41 AM   #1
LQ Newbie
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
RPM vs Yum...

I am not that familiar with Linux but a friend of mine advised me to avoid RPM and use Yum. I would like to know why....
Old 12-15-2006, 07:44 AM   #2
LQ Newbie
Registered: Feb 2004
Distribution: Slackware 10.1
Posts: 24

Rep: Reputation: 15
RPM files in themselves may depend on other files that you have not installed. Tracking them down manually is difficult and can lead to dependency hell, a situation in which everything requires something else to be installed.

when you use Yum, the dependencies that you don't have are fetched automatically. Makes for a very painless install of popular software.
Old 12-15-2006, 07:45 AM   #3
Mega Man X
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 64
Originally Posted by amentzriona
I am not that familiar with Linux but a friend of mine advised me to avoid RPM and use Yum. I would like to know why....
Welcome to amentzriona!

It's not really a matter of one vs another. Your friend is right though . Anyway, you should first read what rpm's are and what yum is and how to use it. Links:

What is a rpm:

What is YUM:

When you read what they are, it is time to learn how use yum. I assume you are using Fedora Core:

There you will find out how to install rpm's through yum, among many other very important things.

Old 12-15-2006, 08:40 AM   #4
Registered: Feb 2004
Location: Switzerland
Distribution: Fedora - RedHat - Mandrake - OpenSuse
Posts: 216

Rep: Reputation: 35
Sephiroth is right by saying that finding RPM dependency can be quite a difficult and long. On the other hand, I really like knowing what a program does and what it needs to run. I still use mostly rpm to install my software.
Old 12-15-2006, 09:01 AM   #5
LQ Newbie
Registered: Sep 2006
Location: Colorado
Distribution: Fedora Core 5-6 (among others)
Posts: 3

Rep: Reputation: 0
Hi amentzriona,

Hmmm. I think the best way to put it is this.

RPM is a pre-packaged installer, but it is ignorant of dependencies and will not give you a "Turn Key Package."

YUM Fetches the RPM package, checks the dependencies, fetches anything else the install is going to need, and provides a database of all installed stuff, and possible conflicts.

In short... YUM if you can, RPM if you have to!

Old 12-15-2006, 09:10 AM   #6
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
YUM is just a frontend for RPM, so its important that you understand how both work. YUM provides dependency resolution and and can fetch packages from many different sources whilst RPM on its own does not have such nifty features.


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
yum - rpm alfonso12 Fedora - Installation 1 08-23-2006 08:57 PM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM
RPM or Yum? giovannym Linux - Newbie 19 04-17-2005 11:47 PM
Yum - can it install any rpm? sybil Linux - Newbie 2 07-05-2004 04:50 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration