extract rpm files

This is useful if we need to get certain source libraries from the rpms.

rpm2cpio php-5.1.4-1.rpm | cpio -idmv

You should see a tar file after extraction. untar it.

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.