yay x <select package to install> <decide to abort>
yay x again and see the following:
Sync Make Dependency (1): intltool-0.51.0-6 Sync Dependency (1): openssl-1.1-1.1.1.v-1 Sync Check Dependency (2): xorg-server-xvfb-21.1.8-2, gdb-13.2-1 AUR Explicit (1): netactview-0.6.4-5 AUR Dependency (1): libglade-2.6.4-8 AUR Make Dependency (1): python2-2.7.18-8 :: PKGBUILD up to date, skipping download: netactview :: PKGBUILD up to date, skipping download: libglade :: PKGBUILD up to date, skipping download: python2 3 libglade (Build Files Exist) 2 python2 (Build Files Exist) 1 netactview (Build Files Exist)
The last part says
(Build Files Exist). Is there a smart way to cleanup and remove these?
pacman -Qtdq | pacman -Rns - did not help - probably because I used yay to install?
My machine does not have python2 and I aborted the installation because it wanted to install a whole new language. I still don’t have python2 but those build files exist and I suspect they are large. Can I get rid of them?
The installation asked me to enter password to complete near the end, I forced this step to fail. Is there a better way to abort an installation?