Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

When I use the git clone and use the makepkg -si command , it gives this error

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.
like image 368
Arian Avatar asked Feb 27 '20 13:02

Arian


2 Answers

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? It's the same package.

git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
like image 99
La faguette Avatar answered Nov 10 '22 07:11

La faguette


try with that:

sudo pacman -S binutils make gcc pkg-config fakeroot

then again try to makepkg.

like image 32
Muata Avatar answered Nov 10 '22 07:11

Muata