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.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Slashdot
  • TwitThis
  • Yahoo! Buzz