This trick is for systems such as Red Hat and Cent OS that use the RPM package management system.
So you have a file on your system but you want to figure out which package it belongs to. The best way that I found to do this is the fowling
That command shows up what the name of the RPM is that is associated with the file /usr/libexec/fprintd
[user@server~]$ rpm -qf /usr/libexec/fprintd fprintd-0.1-19.git04fd09cfa.el6.x86_64
Now we can do a search to find the description of the package fprintd-pam.x86_64
[user@server~]$ yum search fprintd Loaded plugins: refresh-packagekit, rhnplugin *Note* Red Hat Network repositories are not listed below. You must run this command as root to access RHN repositories. ========================================================================================== N/S Matched: fprintd =========================================================================================== fprintd.x86_64 : D-Bus service for Fingerprint reader access : PAM module for fingerprint authentication Name and summary matches only, use "search all" for everything.