How to list / find out what files are in rpm package ?
For already installed package, you must use the following syntax: rpm -ql packagename
rpm -ql pciutils
/sbin/lspci
/sbin/setpci
/usr/sbin/update-pciids
/usr/share/doc/pciutils-3.1.10
/usr/share/doc/pciutils-3.1.10/COPYING
/usr/share/doc/pciutils-3.1.10/ChangeLog
/usr/share/doc/pciutils-3.1.10/README
/usr/share/doc/pciutils-3.1.10/pciutils.lsm
/usr/share/man/man8/lspci.8.gz
/usr/share/man/man8/setpci.8.gz
/usr/share/man/man8/update-pciids.8.gz
To list a given uninstalled package, you must use the following syntax: rpm -qlp packagename.rpm
rpm -qlp fping-3.8-1.el6.rf.x86_64.rpm
/usr/sbin/fping
/usr/sbin/fping6
/usr/share/doc/fping-3.8
/usr/share/doc/fping-3.8/COPYING
/usr/share/doc/fping-3.8/ChangeLog
/usr/share/doc/fping-3.8/README
/usr/share/man/man8/fping.8.gz
/usr/share/man/man8/fping6.8.gz
If you found this post or this website helpful and would like to support our work, please consider making a donation. Thank you!
Help UsArticles in the same category
- yumdownloader how to download RPM package without installing it
- yumdownloader comment télécharger un RPM sans l'installer
- RPM What files have been changed ? -- Verify System Files
- How to turn off / avoid brp-python-bytecompile script in a spec file ?
- How to list / find out what files are in rpm package ?
- Comment déterminer l'ensemble des fichiers dans un paquet rpm ?
- Comment désactiver/éviter le script de brp-python-bytecompile dans un fichier spec ?
- linux/rpm