pacman remove packages with text file code example Example: pacman remove unused dependencies sudo pacman -Rsn $(pacman -Qdtq)