rpm2cpio /path/to/file.rpm | cpio -i --make-directories
Thanks to askubuntu.com
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.
rpm2cpio /path/to/file.rpm | cpio -i --make-directories