this post was submitted on 20 Oct 2023
15 points (94.1% liked)
Arch Linux
7750 readers
2 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Removing orphaned dependencies every once in a while is a good idea. If these were installed as dependencies and are not dependencies anymore, this would get rid of them.
https://wiki.archlinux.org/title/Pacman/Tips_and_tricks#Removing_unused_packages_(orphans)
oh wow, my system had accumulated ~4GB worth of orphaned stuff.
And as a sidenote: https://aur.archlinux.org/packages/pacman-log-orphans-hook - adds a pacman hook to notify the user if there are orphaned packages after an update.
Wow, 2GB for me. Good tip!