Querying for installed packages

To determine the Version.Release.Modification.Fix-Build level of a package, query for it using the rpm or dpkg command.

On SLES, RHEL, and CentOS

To query for an individual package, enter the following command:

   rpm -q xlf.15.1.5

The result is:

   xlf.15.1.5-V.R.M.F-B

where V.R.M.F-B is the Version.Release.Modification.Fix-Build level of the compiler that is installed on the system.

If the installation is not successful, you will get a message indicating that the package has not been installed.

To confirm the installation of all compiler packages, enter the following command:

   rpm -qa | grep -e xlf.15.1.5 -e libxlmass-devel.8.1.5

The result is a list containing all of the packages as shown in Table 1. If none of the packages was properly installed, there will be no output from the command.

On Ubuntu

To query for an individual package, enter the following command:

   dpkg -p xlf.15.1.5

The result is:

Package xlf.15.1.5

Version: V.R.M.F-B

where V.R.M.F-B is the Version.Release.Modification.Fix-Build level of the compiler that is installed on the system.

If the installation is not successful, you will get a message indicating that the package has not been installed.

To confirm the installation of all compiler packages, enter the following command:

   dpkg -l | grep -e xlf.15.1.5 -e libxlmass-devel.8.1.5 -e libxlsmp

The result is a list containing all of the packages as shown in Table 1. If none of the packages was properly installed, there will be no output from the command.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us