Check Installed Packages in CentOS

You can use the following command to view the software packages already installed on CentOS:

rpm -qa

This command will display the names of all installed packages on the system. You can also use the grep command to search for specific packages, for example:

rpm -qa | grep <package_name>

Simply replace with the partial name of the software package you are searching for. This will help you filter the output and find the package you are interested in.

In addition, if you are using a yum-based package management system (such as CentOS 7 and later versions), you can also query installed software packages with the following command:

yum list installed

This command will display information about packages installed via yum.

bannerAds