RPM useful Commands For User To Check Packages In Linux

RPM useful commands for the user. This is the most popular package utility in Redhat to install, query, remove, update, and verify. All the packages will end with the .rpm extension. We can list all rpm installed files and available packages in Linux using the command.

RPM useful Commands For User To Check Packages :

You will find two types of packages extensions in the Linux machine. one is .rpm and another one is noarch.rpm. when you use noarch.rpm architecture, it means we can install it on any architecture.

Check Out: Error Locate Command Not Found (find files) In Linux

  1. Query a package is installed or not.

rpm list available packages

Check rpm signature

rpm –checksig pkg_name

Check dependencies

rpm –qaR httpd

rpm list files in package

Install package without dependencies.

rpm –ivh –nodeps pkg_name

Check all files of the package.

rpm –ql httpd

rpm list installed packages

List recent package installed.

rpm –qa –last

rpm command in linux

Check Out: Features of Redhat 8 Beta Version Recently Released

Upgrade a package:

rpm –Uvh pkg_name

Remove package

rpm –e pkg_name

Remove package without dependencies

rpm –ev –nodeps httpd

Files related to a package:

rpm –qf pkg_name

Get information about the package before installing it.

rpm –qip pkg_name

You’re done rpm list available packages rpm list files in package rpm command in linux installed

Share on:

I'm the founder of Curious Viral. I hope this blog will provide you complete information about Linux Technology & I would like to share my technical knowledge with you which I have learned during this period.

Other Posts You May Like...

Leave a comment