Search installed packages with linux rpm command

To list all packages installed on your linux RPM ( NOT DEB ) system use rpm command as follows:

rpm -qa | grep <package_name>

where -q is option for query packages and -a is to list them all. This method is just for Red Hat Package management and can not be applied on Debian derived distributions.

Example:

rpm -qa | grep kernel

Leave a Reply

You must be logged in to post a comment.