Debian Apt Cheatsheet

Tags:

Download and build source package apt-get -b source
Download and install dependencies for source package apt-get build-dep
Download source package apt-get source
Install package "on demand" auto-apt run
List contents of a package apt-file list
List installed packages dpkg -l
Remove package and configuration files apt-get --purge remove
Search for Debian Packages http://www.debian.org/distrib/packages
Search for packages apt-cache search
Show package dependencies apt-cache depends
Show package information apt-cache show
Show package that supplies a given file apt-file search
Show package that supplies a given file COLUMNS=132 dpkg -S
Show source package information apt-cache showsrc
Update `apt-file and auto-apt database apt-file update