Solved

When we use Yum and when we use rpm

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
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 several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

733 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