Unpack an RPM

Written by James McDonald

September 21, 2009

Just needed to unpack an rpm on my Ubuntu Box so I could send my brother one of the chkconfig init.d scripts.

To do it required the following:

sudo apt-get install rpm # need this for rpm2cpio utility
rpm2cpio therpmyouwantounpack.rpm | cpio -idmv

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…