dpkg dpkg is the low-level tool used to manipulate packages and manage the package status information. In order to not be tied completely to a single package format a lot of the work to build and extract a package file is handled by a seperate tool called dpkg-deb.