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