Checking installed software packages

Last Updated : May 13, 2024 |

About this task

Use this procedure to check for previously installed software packages. The rules for specifying package names are as follows:

  • You can omit the pkgname variable from the command. The command then lists the name, description, and version number of every software package installed on the system.

  • If you list only one package name, the command lists the name, description, and version number of only that software package.

  • You can list several package names separated by spaces. The command then lists the name, description, and version number of every software package you name.

    To check what software packages are installed on your system:

Procedure

From the root prompt, enter: rpm -qa pkgname

where pkgname is the name of the software package you are checking for.