Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am looking for the equivalent of RHEL's yum -y in ArchLinux's pacman so that I can install packages with a shell script without asking the user questions.

share|improve this question

marked as duplicate by jasonwryan, Anthon, Thomas Nyman, rahmu, Zelda Jan 25 '14 at 12:08

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

up vote 6 down vote accepted

The option you are looking for is --noconfirm . It is available in pacman's 8 man page and is also available here

however, it is best to avoid using it and is highly recommended to always read and understand pacman's output.

share|improve this answer

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