yaourt asking "please run yaourt as a non-privileged user"

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.

λ Jonas Gorauskas

Posted 2013-05-04T07:45:24.003

Reputation: 427

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 – 2013-05-04T08:29:25.350

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 – 2013-05-04T08:55:44.010

2Yes. 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 – 2013-05-04T09:05:29.080

@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 – 2013-05-04T09:19:36.210

Answers

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.

Autumnal

Posted 2013-05-04T07:45:24.003

Reputation: 2 665