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