List files in an RPM without installing first

Posted in Linux , howto

rpm -qpl

You can list the contents of an rpm without installing it first. If you’re not going to build your own from source, you should at least check an rpm before installing it to see what it’s going to install.

$ rpm -qpl qpidc-0.5.829175-2.fc12.src.rpm

qmf.patch
qpidc-0.5.829175.tar.gz
qpidc.spec
qpidd.pp
rhm-0.5.3684.tar.gz
so_number.patch

# rpm -qpl libidn-1.9-5.x86_64.rpm

warning: Header V3 RSA/SHA1 signature: NOKEY, key ID 57bcaabb
/lib64/libidn.so.11
/lib64/libidn.so.11.5.38
/usr/bin/idn
/usr/share/doc/libidn-1.9
/usr/share/doc/libidn-1.9/AUTHORS
/usr/share/doc/libidn-1.9/COPYING
/usr/share/doc/libidn-1.9/COPYING.LIB
/usr/share/doc/libidn-1.9/FAQ
/usr/share/doc/libidn-1.9/NEWS
/usr/share/doc/libidn-1.9/README
/usr/share/doc/libidn-1.9/THANKS
/usr/share/emacs/site-lisp
/usr/share/emacs/site-lisp/idna.el
/usr/share/emacs/site-lisp/punycode.el
/usr/share/info/libidn.info.gz
/usr/share/locale/cs/LC_MESSAGES/libidn.mo
/usr/share/locale/da/LC_MESSAGES/libidn.mo
/usr/share/locale/de/LC_MESSAGES/libidn.mo
/usr/share/locale/en@boldquot/LC_MESSAGES/libidn.mo
/usr/share/locale/en@quot/LC_MESSAGES/libidn.mo
/usr/share/locale/eo/LC_MESSAGES/libidn.mo
/usr/share/locale/fi/LC_MESSAGES/libidn.mo
/usr/share/locale/fr/LC_MESSAGES/libidn.mo
/usr/share/locale/it/LC_MESSAGES/libidn.mo
/usr/share/locale/ja/LC_MESSAGES/libidn.mo
/usr/share/locale/nl/LC_MESSAGES/libidn.mo
/usr/share/locale/pl/LC_MESSAGES/libidn.mo
/usr/share/locale/ro/LC_MESSAGES/libidn.mo
/usr/share/locale/rw/LC_MESSAGES/libidn.mo
/usr/share/locale/sr/LC_MESSAGES/libidn.mo
/usr/share/locale/vi/LC_MESSAGES/libidn.mo
/usr/share/locale/zh_CN/LC_MESSAGES/libidn.mo
/usr/share/man/man1/idn.1.gz
Posted by admica   @   4 June 2010

Related Posts

Like this post? Share it!

Digg Twitter StumbleUpon Delicious Technorati Facebook RSS

0 Comments

No comments yet. Be the first to leave a comment !
Leave a Comment

Name

Email

Website

Previous Post
« Lame Copy and Paste Hijacking
Next Post
Adobe flash vulnerability is yet another reason to try html5 »
Powered by Wordpress   |   Lunated designed by ZenVerse