【问题标题】:How to fix (MAKEPKG) installation problem?如何修复(MAKEPKG)安装问题?
【发布时间】:2020-06-11 12:47:39
【问题描述】:

我想安装 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.

【问题讨论】:

    标签: linux archlinux arch


    【解决方案1】:

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

    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
    

    【讨论】:

      【解决方案2】:

      尝试一下:

      sudo pacman -S binutils make gcc pkg-config fakeroot
      

      然后再次尝试 makepkg。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2019-11-06
        • 2017-11-27
        • 2016-12-14
        • 2017-06-09
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2022-08-23
        相关资源
        最近更新 更多