Thursday, July 29, 2010

Extract the contents of a deb or rpm package ?

* rpm package can be extracted by issuing this command at the command line.

$rpm2cpio {rpm-package name} | cpio -idv

* deb packages can be extracted by issuing this command at the command line.

$dpkg-deb -x {deb-package name} {target directory}

No comments:

Post a Comment