How to extract the contents of an RPM without installing it. rpm2cpio "your_rpm_filename.rpm" | cpio -idmv