tldr/pages/linux/aptitude.md

28 lines
693 B
Markdown
Raw Normal View History

2014-03-05 19:53:06 +04:00
# aptitude
> Debian and Ubuntu package management utility.
2014-03-05 19:53:06 +04:00
- Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands:
2014-03-05 19:53:06 +04:00
`aptitude update`
- Install a new package and its dependencies:
2014-03-05 19:53:06 +04:00
`aptitude install {{package}}`
- Search for a package:
2014-03-05 19:53:06 +04:00
`aptitude search {{package}}`
- Remove a package and all packages depending on it:
2014-03-05 19:53:06 +04:00
`aptitude remove {{package}}`
- Upgrade installed packages to newest available versions:
2014-03-05 19:53:06 +04:00
`aptitude upgrade`
- Upgrade installed packages (like `aptitude upgrade`) including removing obsolete packages and installing additional packages to meet new package dependencies:
2014-03-05 19:53:06 +04:00
`aptitude full-upgrade`