how to unpack deb package files

.deb files are archives that contain control information and a gzip’d tarball. to extract:

ar vx file.deb

(ar is in the binutils package)

produces:

control.tar.gz  data.tar.gz  debian-binary

unpack the files:

tar zxf data.tar.gz

updated: 2011-08-21