Shell/Bash: install rpm package Example


Shell/Bash Example: This is the "install rpm package" Example. compiled from many sources on the internet by

install rpm package

rpm -i file_name.rpm

install rpm fedora

sudo rpm –i sample_file.rpm
To install or upgrade a package, use the -U command-line option:
rpm -U filename.rpm. For example, to install the mlocate RPM used as an example in this chapter, run the following command:
rpm -U mlocate-0.22.2-2.i686.rpm. ...
rpm -Uhv mlocate-0.22.2-2.i686.rpm. ...
rpm –e package_name. ...
rpm –qa. ...
rpm –qa | more.

use rpm command in centos

[[email protected]]# rpm -q BitTorrent


* Summary: This "install rpm package" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!