community man page
apt-get
GNUDebian and Ubuntu package management utility. Search for packages using `apt-cache`. It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
Examples
Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands) GNU
Install a package, or update it to the latest available version GNU
Remove a package GNU
Remove a package and its configuration files GNU
Upgrade all installed packages to their newest available versions GNU
Clean the local repository - removing package files (`.deb`) from interrupted downloads that can no longer be downloaded GNU
Remove all packages that are no longer needed GNU
Upgrade installed packages (like `upgrade`), but remove obsolete packages and install additional packages to meet new dependencies GNU