Solved

When we use Yum and when we use rpm

Posted on 2011-02-22
3
353 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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.:

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now