# List all installed packages
#
rpm -qa
 
# List files in an installed package
#
rpm -ql $PACKAGE_NAME
 
# List the package that owns a particular file
#
rpm -qf $FULL_PATH_TO_FILE