Skip to content

Extract an RPM

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.

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*