?
Solved

When we use Yum and when we use rpm

Posted on 2011-02-22
3
Medium Priority
?
375 Views
Last Modified: 2012-05-11
can somebody help please?
0
Comment
Question by:aashee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
rysic earned 668 total points
ID: 34953426
Mainly you have to use yum. It is frontend of RPM it is easier, cares about dependencies etc. RPM is for more basic things like print all packeges (rpm -qa).

Look here:

http://www.differencebetween.net/technology/difference-between-yum-and-rpm/
http://searchenterpriselinux.techtarget.com/answer/Using-yum-vs-RPM
http://www.mombu.com/gnu_linux/red-hat/t-yum-vs-rpm-2880505.html
0
 
LVL 16

Assisted Solution

by:JammyPak
JammyPak earned 668 total points
ID: 34953463
I use rpm if I have the specific rpm package file that I want to install in front of me. I also use it to see what is installed (ex. rpm -qa |grep <blah>)

I use yum if I don't have the rpm downloaded and I want to get it from RHN, or if I just want to do a blanket upgrade of the entire system.
0
 
LVL 12

Assisted Solution

by:mccracky
mccracky earned 664 total points
ID: 34953540
rpm doesn't resolve and install the other dependencies for a program -- i just tries to install it.

usually yum is pointed at repositories and can try to resolve all the dependencies for a program and install all things at once.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses
Course of the Month14 days, 18 hours left to enroll

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question