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

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress