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
Solved

When we use Yum and when we use rpm

Posted on 2011-02-22
3
361 Views
Last Modified: 2012-05-11
can somebody help please?
0
Comment
Question by:aashee
3 Comments
 
LVL 5

Accepted Solution

by:
rysic earned 167 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 167 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 166 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Why  my code (program) build with old compiler? 11 77
Samba Question 11 76
Apache module 5 47
python - find anything after $ question. 9 17
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

838 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