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
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.