Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How to make pacman (archlinux's package manager) to not reinstall when the package already installed

 pacman -S packagename    # install and reinstall if exists
share|improve this question

1 Answer 1

up vote 8 down vote accepted

Use the --needed option to skip reinstall of existing packages when you Sync (-S).

If a package in the list is already installed on the system, it will be reinstalled even if it is already up to date. This behavior can be overridden with the --needed option.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.