APT (Advanced Packaging Tool) is a powerful package management system, on which the graphical programs Add/Remove Programs and Adept are based. APT automatically handles dependencies and performs other operations on system packages to allow the installation of the desired packages.
Running APT requires administrative privileges (see the section called “Root And Sudo”).
Some common commands that can be used with APT:
Install packages:
sudo apt-get install packagename
Remove packages:
sudo apt-get remove packagename
Search for packages:
apt-cache search keyword
Retrieve new lists of available packages:
sudo apt-get update
Upgrade system with available updates:
sudo apt-get dist-upgrade
List further commands and options:
apt-get help
For further information about the use of APT, you can read the comprehensive Debian APT User Manual.