Red Hat Linux

Verify Installed Packages

All packages that have been installed using RPM can be verified with the following command

  • rpm -qa | xargs rpm --verify

Which package does a file belong to?

  • rpm -qf /path/to/file

List files in package

  • rpm -ql package-name

Give full information about each file

  • rpm -ql --dump package-name

-- Frank Dean - 03 Feb 2005