Subcommands19 subcommands
apt update
Update the package database
apt upgrade
Install all available upgrades
apt full-upgrade
Install available upgrades, removing currently installed packages if needed to upgrade the system as a whole
apt install
Install package(s)
apt reinstall
Reinstall package(s)
apt remove
Remove package(s)
apt purge
Remove package(s) and their configuration files
apt autoremove
Remove unused packages
apt search
Search for packages
apt show
Show package details
apt satisfy
Satisfy package dependencies
apt clean
Remove downloaded package files
apt edit-sources
Edit the list of package sources
apt source
Fetch package source files
apt build-dep
Install/remove packages in an attempt to satisfy the build dependencies for a source package
apt download
Download package binary into the current directory
apt autoclean
Like clean, but only removes package files that can no longer be downloaded
apt changelog
Show the changelog for a package