apt
SystemBeginnerReference onlyPackage manager for Debian/Ubuntu
Name: apt = Advanced Package Tool
This command is outside what the site lets you practise (mostly distribution-specific or rarely used tools). This page describes how to use it; try it on your own Linux system.
Description
apt is the main package command on Debian, Ubuntu and relatives: it downloads, installs, upgrades and removes software from repositories and resolves dependencies. Run apt update first to refresh the package lists.
apt is designed for interactive use; scripts should prefer apt-get, whose interface is stable.
Syntax
apt [OPTION]... COMMANDCommon options
| update | Refresh package lists |
| upgrade | Upgrade installed packages |
| full-upgrade | Upgrade, removing packages if needed (for big upgrades) |
| install / remove | Install / remove packages |
| purge | Remove a package and its configuration files |
| autoremove | Remove dependencies nothing needs any more |
| search | Search for packages |
| show | Show a package’s details (version, dependencies, description) |
| list --installed | List installed packages |
| -y | Answer yes to every question |