Solved

When we use Yum and when we use rpm

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Weird Samba Connectivity Issue... 7 40
nagios 4 php error after installation 6 95
is my large folder zipped corrupted 4 67
awk sed 8 45
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

821 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