apt

Package manager for Debian-based Linux distributions

Subcommands

NameDescription
updateUpdate the package database
upgradeInstall all available upgrades
full-upgradeInstall available upgrades, removing currently installed packages if needed to upgrade the system as a whole
installInstall package(s)
reinstallReinstall package(s)
removeRemove package(s)
purgeRemove package(s) and their configuration files
autoremove, auto-removeRemove unused packages
listList packages
searchSearch for packages
showShow package details
satisfySatisfy package dependencies
cleanRemove downloaded package files
edit-sourcesEdit the list of package sources
sourceFetch package source files
build-depInstall/remove packages in an attempt to satisfy the build dependencies for a source package
downloadDownload package binary into the current directory
autoclean, auto-cleanLike clean, but only removes package files that can no longer be downloaded
changelogShow the changelog for a package

Options

NameDescription
-h, --help
  • Persistent ⚖
-v, --version
  • Persistent ⚖