Command-Line Package Management With APT

If you are comfortable using the Terminal, you can use apt (Advanced Packaging Tool) to install or remove software. You need administrative access to use apt.

To update the local list of packages, enter in a Terminal:

sudo apt-get update

To install all available updates:

sudo apt-get upgrade

To install a package:

sudo apt-get install package

To remove a package:

sudo apt-get remove package

To list other apt commands and options:

apt-get help

For more information, see Debian’s apt manual.