Extract files from an rpm

If you want to extract the files from an rpm, it’s really easy. I needed to use this recently when I was going to install a printer driver in UNIX. The manufacturer had a linux rpm available for download, but I didn’t need the whole thing, just the PPD file. So, I ran this command and copied out the PPD file that I needed.

rpm2cpio package.rpm | cpio -dimv





Please VOTE for this page at: ADD TO DEL.ICIO.US | ADD TO DIGG | ADD TO FURL | ADD TO NEWSVINE | ADD TO NETSCAPE | ADD TO REDDIT | ADD TO STUMBLEUPON | ADD TO TECHNORATI FAVORITES | ADD TO SQUIDOO | ADD TO WINDOWS LIVE | ADD TO YAHOO MYWEB | ADD TO ASK | ADD TO GOOGLE


Leave a reply