Linux RPM YUM Difference | How To Resolve Package Dependencies


In the early days Linux Software install through rpm.

But rpm has the Big disadvantage

RPM- Red hat Package Manager

rpm it can not able to resolve the dependencies packages.


[root@Jesus Server]# rpm -ivh httpd*
warning: httpd-2.2.3-31.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: Failed dependencies:
apr-devel is needed by httpd-devel-2.2.3-31.el5.i386
apr-util-devel is needed by httpd-devel-2.2.3-31.el5.i386

To resolve the package dependencies and Package location.
Duke University created YUM- Yellow(Yellowdog) Updated Modified.
For these YUM concept it has list of repository package and repository dependency package.

what is difference between RPM and YUM installation
when ever we need to install rpm package it fetch rpm from there repoisary file location.
[root@Jesus Server]#yum install httpd*
Examining httpd-manual-2.2.3-31.el5.i386.rpm: httpd-manual-2.2.3-31.el5.i386
httpd-manual-2.2.3-31.el5.i386.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package httpd-devel.i386 0:2.2.3-31.el5 set to be updated
--> Processing Dependency: apr-devel for package: httpd-devel
--> Processing Dependency: apr-util-devel for package: httpd-devel
--> Running transaction check
---> Package apr-devel.i386 0:1.2.7-11.el5_3.1 set to be updated
---> Package apr-util-devel.i386 0:1.2.7-7.el5_3.2 set to be updated
--> Finished Dependency Resolution

No comments:
Write comments