1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-01 19:17:57 +01:00
tldr/pages/linux/apt-get.md
2016-01-08 09:38:59 +01:00

23 lines
549 B
Markdown

# apt-get
> Debian and Ubuntu package management utility.
- Synchronize list of packages and versions available. This should be run first, before running subsequent apt-get commands:
`apt-get update`
- Install a new package:
`apt-get install {{package}}`
- Remove a package:
`apt-get remove {{package}}`
- Upgrade installed packages to newest available versions:
`apt-get upgrade`
- Upgrade installed packages (like "upgrade"), but remove obsolete packages and install additional packages to meet new dependencies:
`apt-get dist-upgrade`