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.

Like it.? Share it:

Comments are closed.