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

Leave a Reply