简体   繁体   English

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

[英]How to fix (MAKEPKG) installation problem?

i want install yay for download package from Aur ArchLinux I don't know what to do, thank you for guiding us我想从 Aur ArchLinux 安装 yay 下载包我不知道该怎么做,谢谢你指导我们

When I use the git clone and use the makepkg -si command , it gives this error当我使用 git clone 并使用 makepkg -si 命令时,它给出了这个错误

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

Error text:错误文本:

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

You're missing the libraries to compile the package.您缺少用于编译包的库。 To install them:要安装它们:

sudo pacman -S binutils make gcc pkg-config fakeroot

or, to install basic tools for compiling code:或者,安装用于编译代码的基本工具:

sudo pacman -S base-devel

Also instead of installing and compiling yay (which also requires you to install all the GO libraries) why not installing the precompiled yay-bin?与其安装和编译 yay(这也需要您安装所有 GO 库),为什么不安装预编译的 yay-bin? It's the same package.这是同一个包裹。

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

try with that:尝试这样做:

sudo pacman -S binutils make gcc pkg-config fakeroot

then again try to makepkg.然后再次尝试makepkg。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM