Unpack an RPM

Just needed to unpack an…

Login

Blog History

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 *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.