Is there a command (yay) to remove all AUR packages at once?
Moving to newbie section
yay -R $(pacman -Qmq)
yay -R $
that removes only one package, i would like to remove all aur packages or at least get a list so i can remove them one by one
Did you try it? Obviously not.
[elloquin@elloquin-elloquin ~]$ yay -R $(pacman -Qmq)
[sudo] password for elloquin:
checking dependencies...
Packages (4) chromium-widevine-1:4.10.1679.0-1 gamemode-1.5.1-2 plank-git-0.11.89.r5.20c16a0-1 timeshift-20.03-1
Total Removed Size: 13.83 MiB
:: Do you want to remove these packages? [Y/n]
didn’t realize the pacman part needed to be included
Are you still sure you want to take this action?
If you want to remove the dependencies as well you can add -s
to -R
. And if the command result in an error it probably means that one or more packages depend on something you want to remove. So you can add -t
to pacman part ensuring that only not required packages will be removed. So, it will look like this:
yay -Rs $(pacman -Qmtq)
i had an issue with xorg-font-utils, thanks to the command you gave i had a list of what i installed via aur and i just uninstalled de xorg-font-utils package
You should mark this post as your solution…