Extracting files from RPMs

Monday, October 3rd, 2005 - Español English

This one can come very handy: as it is said here, one can use rpm2cpio (instructions here) and cpio to extract files from an RPM:

rpm2cpio pack.rpm | cpio --extract --make-directories --preserve-modification-time --verbose ./path/to/file

As simple as that.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>