LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-30-2011, 11:34 AM   #1
aparna8877
Member
 
Registered: Dec 2011
Posts: 34

Rep: Reputation: Disabled
difference between RPM and YUM Needed....


Hi,

Can anybody explain me the difference between :

RPM and YUM ?

How they differ ?

Both are used to install Packages in Linux.Then what is the main difference?
 
Old 12-30-2011, 12:23 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by aparna8877 View Post
Hi,

Can anybody explain me the difference between: RPM and YUM ?
How they differ? Both are used to install Packages in Linux.Then what is the main difference?
Can you not try to look anything up for yourself? All of your threads are in this vein, indicating either homework questions, or trying to pass an interview and bluff your way into a job.

rpm is used to install/remove single packages. Yum is used to install/remove packages, and the package dependencies too.
 
Old 12-30-2011, 01:51 PM   #3
honeybadger
Member
 
Registered: Aug 2007
Location: India
Distribution: Slackware (mainly) and then a lot of others...
Posts: 855

Rep: Reputation: Disabled
Well they are not package managers for linux - they are only used for Red Hat based distros. Debian used apt slackware uses pkgtool and so on. Yes, the main difference is with rpm you can install/uninstall any package regardless of any dependency issues so yum was created to make up for that deffency.
 
1 members found this post helpful.
Old 12-30-2011, 05:27 PM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by aparna8877 View Post
RPM and YUM ?

How they differ ?
Well, firstly rpm is two things; the first is a package format, and the second is a utility for manipulating packages. You can't compare yum to the package format part, so I guess you meant to compare yum to the package installer rather than the format.

As mentioned before, the dependency resolution is the big thing; if the software doesn't resolve dependencies for you, you have to do it yourself, and that can be less than fun. Yum isn't the only program that can do this, either; other distros make other choices (eg, zypper).
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference of using RPM and YUM in updating packages dwong05 Linux - Newbie 4 04-12-2009 08:19 PM
What is difference between an i386 rpm and an i686 rpm package? rajat Linux - Software 2 03-25-2007 10:55 PM
difference betwenn yum and rpm -i Balakrishna Linux - Newbie 2 12-26-2006 12:16 AM
Why -bash: rpm: command not found??? Also an rpm/yum Q? vbtalent Debian 6 01-23-2006 04:55 PM
yum version yum-2.0.5-0.9.2.legacy.noarch.rpm master Red Hat 6 05-13-2005 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration