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.
- Using yum:
- Using rpm:
By piping the output to wc, you can easily count the installed packages as well:
- Using yum:
- 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:
- Using yum:
- Using rpm:

Comments