For the benefit of the lazy, here is a list of the key features provided by APT , the operator standard software packages provided by Debian GNU / Linux is available on all distributions derived from it.

Update the sources.list repositories from which to draw new packages:
$apt-get update

Upgrade a package:
$apt-get upgrade nome_pacchetto

Upgrade the entire system:
$apt-get dist-upgrade

Remove from / var / cache / apt all packages. Deb downloaded:
$apt-get clean

Remove from / var / cache / apt obsolete and only the packages that are no longer present on the repository:
$apt-get autoclean

Installing a new package:
$apt-get install nome_pacchetto

Remove an installed package:
$apt-get remove nome_pacchetto

Remove any residual traces - configuration files, etc.. - A package previously (un) installed:
$apt-get remove --purge nome_pacchetto

Look for a package by name:
$apt-cache search nome_pacchetto

Finding any information about a package:
$apt-cache show nome_pacchetto

Download the sources of a package without installing it:
$apt-get source nome_pacchetto

Identify the fastest mirror:
$apt-spy