How to remove all dependencies of a failed AUR build?

I tried to build the stellarium-lts AUR, and the build failed. However, it compiled and installed a lot of dependencies (e.g. qt4).

Is there an simple way to remove all those dependencies? I don’t want to install the package anymore.

I have enabled the option “remove unrequired dependencies” in Pamac, but it did not help.

I was able to remove unused dependencies with sudo pacman -Rns $(pacman -Qtdq)

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.