pacman remove unused dependencies 1

pacman remove unused dependencies

sudo pacman -Rsn $(pacman -Qdtq)

Here is what the above code is Doing:
1. pacman -Qdtq lists all packages that are not required by any other installed package.
2. pacman -Rsn $(pacman -Qdtq) removes all “leaf” packages without confirmation.

Similar Posts