如何解决(MAKEPKG)安装问题?

How to fix (MAKEPKG) installation problem?

我想安装 yay 以从 Aur ArchLinux 下载软件包 不知道怎么办,谢谢指导

当我使用 git 克隆并使用 makepkg -si 命令时,出现此错误

git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

错误文本:

==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping.

尝试一下:

sudo pacman -S binutils make gcc pkg-config fakeroot

然后再次尝试 makepkg。

您缺少编译包的库。安装它们:

sudo pacman -S binutils make gcc pkg-config fakeroot

或者,安装编译代码的基本工具:

sudo pacman -S base-devel

另外,为什么不安装和编译 yay(这还要求您安装所有 GO 库)为什么不安装预编译的 yay-bin?是同一个包。

git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si