Searching installed RPM packages
Published on December 14, 2005
By Pete Freitag
By Pete Freitag
Suppose you want to search the rpm's installed on a linux server that uses rpm
(the Redhat Package Manager). I find the easiest way to query is by doing something like this:
rpm -qa | fgrep httpd
The -qa
will list all installed rpm's, then we can pipe a grep to search the list.
Searching installed RPM packages was first published on December 14, 2005.
If you like reading about redhat, rpm, or linux then you might also like:
- Building Apache2 From Source on Linux (Redhat 8)
- Creating a Symbolic Link with ln -s What Comes First?
- Upgrading to Java 7 on Linux