Main Menu

Search

LINUX - YUM COMMAND TO UPDATE AN RPM EXPLICITLY USING DOWNLOADED RPM FILE

Below is yum command to use to update an rpm explicitly using downloaded rpm file.
 
yum update --disablerepo=* --disableplugin=* ./<package-name>.rpm 

For e.g. if you want to update nss package using downloaded nss rpm file, your command will look as follows:

yum update --disablerepo=* --disableplugin=* ./nss-3.21.3-2.0.1.el6_8.i686.rpm 
 
 

Products to which Article Applies

All Linux OS’s

Search Keywords:  package installed version update upgrade latest

Article Author: Tarun Boyella

No comments:

Post a Comment