Super User is a question and answer site for computer enthusiasts and power users. 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 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.

share|improve this question
    
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
up vote 1 down vote accepted

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.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .