How to delete orphaned packages - Pacman vs. Pamac

sudo paccache -r

You can read more about that here: https://wiki.archlinux.org/title/Pacman#Cleaning_the_package_cache

The other settings are for configuring the paccache.timer, which is a way of automating the process of deleting unused packages.

If you are interested, here is a discussion from last year related to using these utilities, and cleaning up systemd logs as well:

1 Like