Use sudo only when installing packages from pacman