cmd

RPM: listing the contents of an rpm file

$ rpm -qpl kernel-2.6.27.19-170.2.35.fc10.i686.rpm
/boot/System.map-2.6.27.19-170.2.35.fc10.i686
/boot/config-2.6.27.19-170.2.35.fc10.i686
/boot/initrd-2.6.27.19-170.2.35.fc10.i686.img
/boot/vmlinuz-2.6.27.19-170.2.35.fc10.i686
[...]

Lists all the files in an RPM file. Also note that rpm can query remote RPM files through FTP and HTTP.

speak up

Add your comment below, or trackback from your own site.

Subscribe to these comments.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

*Required Fields