Debian GNU/Linux uses
apt short for
Advanced Package Tool.
Install software using apt
apt-get install softwareUpdating the list of packages in your sources.list
apt-get updateUpdate software using apt
apt-get upgradeTo change the list of apt mirrors
apt-setupSearch for package
apt-cache search packageUninstall software using apt
apt-get remove software
Shortcuts
update the package lists
# apt-get updateupdate the available package lists
# dselect updateupgrade all installed packages
# apt-get upgradeinstalls package
# apt-get install pkguninstall package
# apt-get remove pkg
show all installed and removed packages
dpkg -lshow install status of package
dpkg -l pkgshow all packages that match pattern
dpkg -S patternlist packages that contain string
dpkglist files in package
dpkg -L pkgshow status of package
dpkg -s pkgshow details of package
dpkg -p pkglist relevant packages
apt-cache search string
install package from a deb file
# dpkg -i file.debpurge package (and config?)
# dpkg -P pkgre-run the configure for a package
# dpkg-reconfigure pkgget the source
# apt-get source pkgconfig build-deps for source and install as needed
# apt-get build-depinstall package from specific release
# apt-get -t release install pkgprevent name from running at bootup
# update-rc.d -f name removeupgrade the distribution
# apt-get dist-upgrade