Ari*_*ian 8 linux archlinux arch
我想从 Aur ArchLinux 安装 yay 下载包我不知道该怎么做,谢谢你指导我们
当我使用 git clone 并使用 makepkg -si 命令时,它给出了这个错误
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
Run Code Online (Sandbox Code Playgroud)
错误文本:
==> ERROR: Cannot find the fakeroot binary.
==> ERROR: Cannot find the strip binary required for object file stripping.
Run Code Online (Sandbox Code Playgroud)
小智 18
您缺少用于编译包的库。要安装它们:
sudo pacman -S binutils make gcc pkg-config fakeroot
Run Code Online (Sandbox Code Playgroud)
或者,安装用于编译代码的基本工具:
sudo pacman -S base-devel
Run Code Online (Sandbox Code Playgroud)
与其安装和编译 yay(这也需要您安装所有 GO 库),为什么不安装预编译的 yay-bin?这是同一个包裹。
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
Run Code Online (Sandbox Code Playgroud)