Supposing that I am going to install a package, what's the difference between these two commands: rpm -ivh <package>
and yum install <package>
same question for example with rpm -Uvh <package>
and yum update <package>
(for updating issue)
linuxpackage-managementrpmyum
Supposing that I am going to install a package, what's the difference between these two commands: rpm -ivh <package>
and yum install <package>
same question for example with rpm -Uvh <package>
and yum update <package>
(for updating issue)
Best Answer
For
rpm
you must specify where to get the file with the new version of the package.yum
, which is a more intelligent management system, try to find a new version of the package in their repositories, will look for the package dependencies, will look for the fastest repository mirror (and make a lot of other pleasantrie)