How to find out why a AUR package was installed?

You can try finding that context in /var/log/pacman.log:

  • search for package name, the first occurrence should be when you had it installed
  • read around for the associated context
vi +$(grep -n -m1 <package_name> /var/log/pacman.log | cut -d: -f1) /var/log/pacman.log

3 Likes