Suppose we want to extract and see the RPM content without installing it. This is how we can do it :-) It should work on any RPM based system like redhat, fedora, centos etc.

Example: To extract wget bundled with Fedora 9

rpm2cpio wget-1.11.1-1.fc9.i386.rpm | cpio -idmv

Cheers,

Posted Wednesday, May 21st, 2008 at 12:20 pm
Filed Under Category: Linux / Unix
You can skip to the end and leave a response. Pinging is currently not allowed.

0

Leave a Reply

CAPTCHA image