I want to be able to install packages unattended with the Arch Linux package manager pacaur. On Ubuntu, one can do:

apt-get -y install htop

What is the equivalent in Arch Linux, using Pacaur?


It looks like pacaur supports --noconfirm:

--noconfirm      do not prompt for any confirmation

The following may also be useful:

--noedit         do not prompt to edit files
  • I haven't been able to test this; hopefully it does what you would like it to do. – dhag Apr 17 '15 at 21:27
  • ➜ ~ pacaur -S --noconfirm google-chrome :: Package(s) google-chrome not found in repositories, trying AUR... :: resolving dependencies... :: looking for inter-conflicts... AUR Packages (1): google-chrome-42.0.2311.90-1 :: Retrieving package(s)... :: View google-chrome PKGBUILD? [Y/n] =======================================> it did not work :( – Dr Manhattan Apr 17 '15 at 21:35
  • you set me on the right path, this works:: pacaur -S --noconfirm --noedit google-chrome – Dr Manhattan Apr 17 '15 at 21:37
  • Good, I will add this to my answer, then. – dhag Apr 17 '15 at 21:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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