What's the difference between rpm and yum?

user705414 picture user705414 · Nov 20, 2011 · Viewed 15.9k times · Source

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.

Answer

Kae Verens picture Kae Verens · Nov 20, 2011

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