1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 23:37:57 +01:00
tldr/pages/linux/aptitude.md

28 lines
634 B
Markdown
Raw Normal View History

2014-03-05 16:53:06 +01:00
# aptitude
> Debian and Ubuntu package management utility
- Synchronize list of packages and versions available. This should be run first, before running subsequent aptitude commands.
2014-03-05 16:53:06 +01:00
`aptitude update`
- install a new package
`aptitude install {{package}}`
- search for a package
`aptitude search {{package}}`
- remove a package
2014-03-05 16:53:06 +01:00
`aptitude remove {{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.
2014-03-05 16:53:06 +01:00
`aptitude full-upgrade`