Archive for April 4th, 2008

Extract an RPM

April 04th, 2008 | Category: AIX, Linux, Opensource

This is one of those things I only do occasionally, so here’s a note on how to do it.

rpm2cpio rpmarchive.rpm | cpio -idmv

This should extract the entire rpm into the current dir, so make sure you are in a clean dir before you do this. The rpm2cpio command should be available on any distro that uses rpm.

No comments