$ rpm2cpio myrpmfile.rpm | cpio -idmv
Extracts an rpm package in the current directory without installing it. It is very useful when you only want to see its contents.
$ rpm2cpio myrpmfile.rpm | cpio -idmv
Extracts an rpm package in the current directory without installing it. It is very useful when you only want to see its contents.
pkg_info command this way:
$pkg_info -W /usr/local/bin/mysql
/usr/local/bin/mysql was installed by package mysql-client-5.5.2
Enjoy!
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=""> <strike> <strong>