yay icon indicating copy to clipboard operation
yay copied to clipboard

change chain-command within readme

Open CodingWithAnxiety opened this issue 1 year ago • 1 comments

I propose we change the chain-command within the readme from;

pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

to

sudo pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si

The only command in this that needs sudo is pacman- and running the full command as root does not work;

==> ERROR: Running makepkg as root is not allowed as it can cause permanent,
catastrophic damage to your system.

This new commands satisfies the usage of sudo (pacman needs root) without overusing it and receiving an error from makepkg.

CodingWithAnxiety avatar Jun 11 '24 20:06 CodingWithAnxiety

can you add a small mention saying to replace "sudo" with your privilege escalation tool of choice?

Thanks @CodingWithAnxiety

Jguer avatar Jun 20 '24 12:06 Jguer

Fixed in #2483

Jguer avatar Sep 02 '24 13:09 Jguer