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