RPM’s on OsX
March 19th, 2008
Recently one of the ways to distribute packages(binary and source) is by using
First grab the perl script - rpm2cpio.pl. Its usage is pretty straightforward
rpm2cpio, perl version by orabidoo <odar@pobox.com> +sw
dumps the contents to stdout as a cpio archive
use: rpm2cpio [file.rpm] > file.cpio
Here's how to use cpio:
list of contents: cpio -t -i < /file/name
extract files: cpio -d -i < /file/name
dumps the contents to stdout as a cpio archive
use: rpm2cpio [file.rpm] > file.cpio
Here's how to use cpio:
list of contents: cpio -t -i < /file/name
extract files: cpio -d -i < /file/name
Thankfully, cpio is natively available on osx, so that’s pretty much it all amounts to.



