I require yay but it's not installed or in PATH; run: pacman -S --needed git base-devel yay
Hello, I [stumbled](https://www.reddit.com/r/archlinux/comments/w0u0xm/comment/igkavoq) across `pac` and, out of curiosity, I thought I'd see if I can use it to bootstrap `paru` in a container (as opposed to [manual installation](https://github.com/Morganamilo/paru#installation)). This was the result:
```console
$ sudo PAC_USE_AUR=1 ./pac install paru
I require yay but it's not installed or in PATH; run: pacman -S --needed git base-devel yay
yay -Syuu --needed paru
./pac: line 174: yay: command not found
```
However, it's not possible to `pacman -S yay`:
```console
$ sudo pacman -S --needed git base-devel yay
error: target not found: yay
```
An alternative would be to link to https://github.com/Jguer/yay#installation.
1 条评论