1 --- search package name
3 --- install one package
4 apt-get install emacs23-nox
5 --- preparing upgrade (fetch and index latest versions of the repos)
7 --- actually update one package
8 apt-get upgrade myslice
12 --- list (files for) one package
14 dpkg-deb -c myslice_0.2.4.lxc.2013.11.26_amd64.deb
15 --- detailed info (e.g. to see complete version that is truncated in dpkg -l)
17 dpkg --info -c myslice_0.2.4.lxc.2013.11.26_amd64.deb
19 --- install from a local .deb
21 - or, if this has deps that need to be pulled through apt-get:
23 (install with apt-get install -y gdebi-core)
25 --- find which package a file belongs to
26 apt-file search /path/to/file
27 (can be installed with : sudo apt-get install apt-file)