Linux: Extract an rpm file

Hi,

extracting an rpm file are two steps

  • Convert it to an cpio archive
  • And extract this


As one command line

michael@debdev ~# rpm2cpio myPackage.rpm | cpio -idmv
./Dir/myFile1.txt
./Dir/myFile2.key
./Dir/myFile3.pem
1312 blocks

Michael

Advertisment to support michlstechblog.info

Leave a Reply

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

Time limit is exhausted. Please reload CAPTCHA.