Erik's WIki

To list the content of an uninstalled rpm:

rpm -qlp package.rpm

To list the content of an installed rpm:

rpm -ql <package name>