mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
Flattened the structure of the knowledge base
This commit is contained in:
19
knowledge base/apt.md
Normal file
19
knowledge base/apt.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# The APT package manager
|
||||
|
||||
## TL;DR
|
||||
|
||||
```shell
|
||||
# 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
|
||||
Reference in New Issue
Block a user