List or Count Installed RPM Packages



References:


Steps to List or Count Installed RPM Packages:

If you're running a Linux distribution that uses RPMs, like Red Hat, CentOS, Fedora, ArchLinux, Scientific Linux, etc., There are two methods for locating the installed package list.

  1. Using yum:


  2. Using rpm:


By piping the output to wc, you can easily count the installed packages as well:
  1. Using yum:


  2. Using rpm:


By piping the output to grep (your installed application/your installed application with *), you can show the installed packages as well. Please note that the * usually used if you don't know full name of application/rpm or version of installed rpm:
  1. Using yum:


  2. Using rpm:


Comments

Archive

Contact Form

Send