gpt4 book ai didi

linux - 如何修复(MAKEPKG)安装问题?

转载 作者:行者123 更新时间:2023-12-03 09:45:29 26 4
gpt4 key购买 nike

我想安装Yay以便从Aur ArchLinux下载软件包
我不知道该怎么办,谢谢您的指导

当我使用git clone并使用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

或者,安装用于编译代码的基本工具:
sudo pacman -S base-devel

与其安装和编译 yay(这也需要您安装所有 GO 库),为什么不安装预编译的 yay-bin?这是同一个包裹。
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si

关于linux - 如何修复(MAKEPKG)安装问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60434363/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com