What is RPM in linux | All RPM linux commands |

What is RPM in linux | All RPM linux commands |

 All RPM commands List in Linux.

What is the RPM in Linux?

Ans:- RPM (Red-hat package manager) is a program for installing, removing and managing

software package in Linux. Rpm is default package manager for Linux distribution.

* How to install a package using rpm.

# rpm -ivh package_name

explain:-      i = install a package.

                   v = verbose for nice display.

                   h = print hash marks as the package archive is unpacked.

* How to check an RPM signature packages.

# rpm --checksig

* How to check dependencies before installing package.

# rpm -qpR package_name

* How to install package without dependencies.

# rpm -ivh --nodeps package_name

* How to check installed package.

# rpm -qa package_name

* How to check all files of an installed packge.

# rpm -ql package_name

* Check list recently installed packages.

# rpm -qa --list

* To upgrade RPM package.

# rpm -Uvh package_name

* To remove a RPM package.

# rpm -evv package_name

* How to remove package without dependencies.

# rpm -ev --nodeps package_name

* To check information before installation package.

# rpm -qip package_name

* How to verify RPM package.

# rpm _Vp package_name

* How to import RPM GPG key.

# rpm -qa gpg-pubkey*

* To cheq version of any package.

# rpm -qa | grep httpd

* How do we Check for the httpd.config any error in config file

# httpd -t

  

Blog type: 

Add new comment

Authored By

Sandeep Gurjar

Hy all, This is Sandeep Gurjar am the founder of hostingride.in. I am a Redhat Certified Engineer (RHCE) / AWS Solutions Architect-Associate and working as an system administrator since 2016.

Follow us on

Facebook​  Twitter  LinkedIn  Google+