If you have a .rpm
archive but don’t use a rpm based distribution and want to extract / unpack some files from it, rpm2cpio
utility comes into scene:
rpm2cpio xyz.rpm | cpio -idmv
It basically converts .rpm
to cpio
archive file and after that uses cpio to complete extraction process.