Avoid to re-installed packages on archlinux

Use the --needed option of pacman to avoid re-installing packages on archlinux