Skip to content

This document is a WORK IN PROGRESS.
This is just a quick personal cheat sheet: treat its contents with caution!


dpkg

dpkg (Debian package manager), is a tool to install, build, remove and manage Debian packages. The primary and more user-friendly front end for dpkg is apt.


Table of content


Use

  • Check if packagename is installed:

    $ dpkg-query -l packagename
    or
    $ dpkg -s packagename
    

  • Find what package owns a command:

    $ dpkg -S `which <command>`
    


If this cheat sheet has been useful to you, then please consider leaving a star here.