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.

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

1 Answer 1

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

Your Answer

 
discard

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.