0

This is a newbie question: why does yaourt in Arch Linux always warn you to "please run yaourt as a non-privileged user"? I am running the following:

$ sudo yaourt <package-name>

... to install packages from "User Repo" land.

  • You forgot to ask a question. Do you not understand the error message? Do you not understand that sudo runs a program as a privileged user? – David Schwartz May 4 '13 at 8:29
  • I understand that sudo makes things happen as the root user. However, I want to install the package globally... If I run yaourt as a non-privileged user, will the package be installed globally? – λ Jonas Gorauskas May 4 '13 at 8:55
  • 2
    Yes. You will be prompted to grant yaourt privileges when it needs them. (If that was your question, why didn't you say so?) – David Schwartz May 4 '13 at 9:05
  • @DavidSchwartz Thanks for the insight and if you want to add that information as the answer I will give you points for it... :) – λ Jonas Gorauskas May 4 '13 at 9:19
1

If you run it with sudo then it gives it root (super user) privileges. So you are running it as a privileged user. If you run it without sudo it should be fine.

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.