Extracting files from rpm archives (rpm2cpio)
Last modified on July 24, 2026 • 1 min read • 25 wordsThe command rpm2cpio finger-0.17-9.i386.rpm | cpio -imVd extracts all files from the rpm archive finger-0.17-9.i386.rpm.
rpm2cpio finger-0.17-9.i386.rpm | cpio -imVd extracts all files from the rpm archive finger-0.17-9.i386.rpm. It creates the directory structure relative to the current directory.