By using the ‘rpm’ command (RPM Package Manager) is is possible to get a lot of information about installed packages on your system. To start, say we want to see if we have a specific package name installed on our system. We can search all the currently installed packages for a package named ‘actutil’ by:

$ rpm -qa | grep actutil
 actutils2-4.3-1.x86_64
CODE

Next, I would like to know what files belong to the actutils package.

$ rpm -ql actutils2-4.3-1.x86_64
 /act/bin/act_authsync
 /act/bin/act_cfgfile
 …
CODE

We can also do the reverse, where I want to find out what package a specific file belongs to.

$ rpm -q –whatprovides /act/bin/act_authsync
 actutils2-4.3-1.x86_64
CODE

These commands are a great starting point for narrowing down information about a package and getting direction for a packages configuration files.