how to install RPM file (Linux)

how to install RPM file (Linux)

Option
-i : use to install new package  (--install)
-U : update new version package(exist old version package),
      and if not exist old package, install new package (same option: -i)
-F :  fresh option, if you have a previous version installed, install.(--freshen)
-v : detailed message
--force : forced installation
--nodeps : ignore dependency and install
-vv : show detailed message during installation
--oldpackage : down grade

recommend option:
-ivh : install new package
-Uvh : update or install new package
-Fvh : if exist old package, only use this option(but, -Uvh use more than)



example:
// make temp dir 
$ mkdir ~/test
// copy rpm file
$ cp /path/name.rpm ~/test
$ cd ~/test
// install rpm

$ rpm -Uvh --force --nodeps name.rpm

No comments:

Post a Comment

Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore!

 🏙️ Apartment Buying Guide 2025: Shocking Red Flags You Should NEVER Ignore! 🚨 Are you thinking about buying an apartment in 2025? 🏢  It’...