Linux server administration/apt

Advanced Package Tool, or APT, is a free software user interface that works with core libraries to handle the installation and removal of software on Debian, Ubuntu and other Linux distributions. Main Advanced Package Tool (APT) binaries are:,   and

Basic apt-get/apt commands

 * Installing:
 * or
 * Provides source repository for a given package.
 * Showing pending to update packages:  or
 * Showing pending to update packages:  or

Basic apt-cache commands

 * List source repository configured included priorities of each source.
 * . See also:
 * . See also:

Relevant configuration files and directories

 * /etc/apt/sources.list : Configuration files with locations to fetch packages from.
 * /etc/apt/sources.list.d/ : directory with additional source list fragments.

Updates

 * To collect information about what installed packages can be upgraded:
 * or
 * To upgrade all installed packages:
 * (see also )
 * apt /Automatic updates/
 * To upgrade all installed packages:
 * (see also )
 * apt /Automatic updates/

Holding packages
To avoid packages from being upgrade when upgrading use  command

Single upgrade

 * To upgrade only a package:

Activities

 * 1) Read differences between   and  : https://unix.stackexchange.com/a/304887
 * 2) Read Linux server administration/apt/Automatic updates
 * 3) Install   package to be able to use   Python command available since 2004.