2010年12月12日 星期日

How to extract/unzip RPM or DEB packages

Extracting the contents of the RPM package is a one step process:
$ rpm2cpio mypackage.rpm | cpio -vid

If you just need to list the contents of the package without extracting them, use the following:
$ rpm2cpio mypackage.rpm | cpio -vt

沒有留言:

wibiya widget