tldr/pages/linux/aptitude.md
85pando 03da0de396 Update aptitude.md: purge command + better desc
* `aptitude install {{package}}` also installs dependencies.
* `aptitude remove {{package}}` also removes packages depending on `{{package}}`
* `aptitude purge {{package}}` removes packages and also removes config files
2016-01-31 09:44:21 +01:00

791 B

aptitude

Debian and Ubuntu package management utility.

  • Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands:

aptitude update

  • Install a new package and its dependencies:

aptitude install {{package}}

  • Search for a package:

aptitude search {{package}}

  • Remove a package and all packages depending on it:

aptitude remove {{package}}

  • Do an aptitude remove {{package}} and remove all config files:

aptitude purge {{package}}

  • Upgrade installed packages to newest available versions:

aptitude upgrade

  • Upgrade installed packages (like aptitude upgrade) including removing obsolete packages and installing additional packages to meet new package dependencies:

aptitude full-upgrade