How Do I List What RPMs Are Installed On My Server?
You can list the what RPMs are currently installed on your server by using the below command. This will display every RPM that is installed.
rpm -qa
You can also search with grep for certain packages with the below command. We will use the search term of ssh in this example.
[root@localhost ~]# rpm -qa|grep ssh
openssh-3.9p1-8.RHEL4.15
openssh-server-3.9p1-8.RHEL4.15
openssh-clients-3.9p1-8.RHEL4.15
rpm -qa
You can also search with grep for certain packages with the below command. We will use the search term of ssh in this example.
[root@localhost ~]# rpm -qa|grep ssh
openssh-3.9p1-8.RHEL4.15
openssh-server-3.9p1-8.RHEL4.15
openssh-clients-3.9p1-8.RHEL4.15
Updated on: 07/01/2023
Thank you!