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.
$repoquery –list packagename
If you do not have this utility available, you can install it by using this command
$yum install yum-utils
Here is a sample output from looking at the package contents of Apache httpd.