Sunday, March 22, 2009

Unpacking a RPM on Ubuntu (or Debian)


# alien --scripts PACKAGE.rpm
# ar -x PACKAGE.deb
You now have two tarballs control.tar.gz and data.tar.gz.

The first is the information dpkg needs to do a proper installation and configuration of the package, the second is contains the binaries and data files.