The purpose of this tool is to minimize Debian installations and only keep packages installed that are necessary to fulfill specific tasks. dpkg-closure computes the transitive closure of package dependencies using a supplied list of installed packages and identifies either extra (orphaned) or missing packages.