Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the difference between rpm and yum? [closed]

Tags:

Is there any difference between rpm and yum? I know the recent system prefer yum, but want to know if there is need for rpm also.

like image 345
user705414 Avatar asked Nov 20 '11 09:11

user705414


People also ask

What is the main difference between RPM and yum?

RPM is autonomous and utilizes its own database to keep information about the packages on the system. YUM is a front-end utility that uses the RPM package manager for package management. The utility also uses the RPM database in the backend.

What is advantage of yum over RPM?

The advantage of yum over the rpm command is it deals with all dependencies for you, prompting you with the required dependencies and the total size of the operation. If you agree, all necessary dependencies will be installed, in addition to your specified package(s).

Does yum Call RPM?

YUM can manage packages from installed repositories in the system or from . rpm packages.

What is the difference between RPM and DNF?

The only difference between the two is that DNF can automatically identify and install dependencies while RPM automatically does (NOT). One has to run a separate RPM command to resolve dependencies and then more to install them, making the process cumbersome.


1 Answers

to expand on the Udo's answer, there is the program, "rpm", which manipulates specifically the packages it is asked to manipulate, and there is "yum", which is a more intelligent management system that can find dependencies and download .rpm files even if they're not in the system.

with the "rpm" command, you need to know the exact location of the .rpm package, but with "yum", you just need to know the name of it, and as long as it's available through your repositories list, it will be installed along with its dependencies

like image 125
Kae Verens Avatar answered Sep 28 '22 00:09

Kae Verens