Extracting the content of an rpm without installing it To extract it in the current directory :
$ rpm2cpio file.rpm | cpio -idv