22 November 2009 0 Comments

How to extract files from RPM package in linux

I wanted to get a file from an RPM package. So this is what I did.

rpm2cpio therpmfile.rpm | cpio -idmv

This will extract the files from the rpm package to the current directory you have.

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • Fark
  • LinkedIn
  • Live
  • MSN Reporter
  • MySpace
  • RSS
  • Slashdot
  • StumbleUpon
  • Technorati
  • Yahoo! Bookmarks
  • Yahoo! Buzz

Leave a Reply

CommentLuv Enabled