1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/apt-get.md
2014-03-04 23:28:29 +11:00

24 lines
575 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 `apt-get upgrade`) including removing obsolete packages and installing additional packages to meet new package dependencies.
`apt-get dist-upgrade`