RHEL

How to list the package contents of a yum install?

Sometimes you need to see what’s installed as part of a package via yum. To see the package contents you can use a utility that’s available on the RHEL/CentOS. [sourcecode language=“jscript”] $repoquery –list packagename [/sourcecode] If you do not have this utility available, you can install it by using this command [sourcecode] $yum install yum-utils [/sourcecode] Here is a sample output from looking at the package contents of Apache httpd.