Files
oam/knowledge base/apt.md
2022-05-15 00:24:53 +02:00

20 lines
386 B
Markdown

# The APT package manager
## TL;DR
```sh
# mark all packages as non-explicitly installed
apt-mark auto $(sudo apt-mark showmanual)
# remove orphaned packages
apt autoremove --purge
```
## Further readings
- [Apt configuration]
- [Configuring Apt sources]
[apt configuration]: https://wiki.debian.org/AptConfiguration
[configuring apt sources]: https://wiki.debian.org/SourcesList