- mark packages in that group as dependencies (
sudo pacman -D --asdeps $(pacman -Qgq <group>)
) - mark the packages you want to keep as explicitly installed (
pacman -D --asexplicit <pkg1> <pkg2> ...
) - all other packages of the group should now be orphans (check with
pacman -Qtdq
) - uninstall them (
pacman -Rns $(pacman -Qtdq)
)
Last active
November 9, 2019 14:05
-
-
Save KJoke70/3603f76da8c2bf06510e4671298b4bd4 to your computer and use it in GitHub Desktop.
Remove (big) pacman groups and keep specific packages
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment