Wednesday, 13 November 2013

How to see content of a package under Linux

For an rpm file not yet installed:
rpm -qlp /path/to/file.rpm
For a package that is already installed: Red Hat:
repoquery -lq package_name
Ubuntu, Debian:
dpkg-query --listfiles package_name