Packages

How To Check Available Packages that can be installed in CentOS

This command will list available Python packages that can be installed:

# yum list available | grep python


How To List Installed Packages in CentOS Linux

This command will list all packages installed in CentOS:

# yum list installed

To check for a specific package if it is installed in CentOS:

# yum list installed | grep <package name>

Example, this is to check whether apache is installed already:

# yum list installed | grep httpd

Syndicate content