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.md
2016-12-21 23:09:01 +00:00

31 lines
622 B
Markdown

# apt
> Package management utility for Debian based distributions.
- Update list of packages and versions available. This should be run before running further apt commands:
`apt update`
- Search for packages:
`apt search {{package}}`
- Install a new package:
`apt install {{package}}`
- Remove a package (using "purge" instead also removes its configuration files):
`apt remove {{package}}`
- Upgrade installed packages to the newest available versions:
`apt upgrade`
- Remove no longer needed packages:
`apt autoremove`
- Upgrade installed packages and remove no longer needed packages:
`apt full-upgrade`