Error in installing yay

HI there, I’m trying to install yay, but I encounter this error after entering this command in the terminal: makepkg -si

==> Starting build()…
/opt/yay-git/PKGBUILD: line 40: make: command not found
==> ERROR: A failure occurred in build().

Somebody please help.

Install the base-devel package group.
All of those contained in it!
You are missing programs needed to compile software.

and have a look at this:

makepkg - ArchWiki

AUR helpers (like pamac, which you already have) make the job somewhat easier.

1 Like


A simple search would of got you this

… as so often is the case :sunglasses:

What, what , what…are you doing !


…is in the official repos.

sudo pacman -Syu yay

…or with pamac if you like.

1 Like

indeed - and it would have pulled in the base-devel group along with it, probably (I did not verify …)

as would have the activation of AUR in pamac (I think …)

but if the already present pamac has AUR capabilities - why use yay at all?

I do use it - I just think it’s better. :wink:

Fancy excuse, but no answer to the question. See it like this:
Yay is a backup when pamac goes crazy again.

1 Like
  1. Check to see if yay is in the Manjaro repository:

    • pacman -Ss '^yay'

    community/yay 11.2.0-1
         Yet another yogurt. Pacman wrapper and AUR helper written in go.

    • Or, pamac search '^yay'
  2. If yes, install yay:

    • pacman -S yay
    • Or, pamac install yay
  3. If no, check AUR and build:

    • pamac search yay
    • pamac build yay
      • snippet:

      pamac build yay
      Install yay from community ? [y/N]
      Checking yay dependencies…
      Resolving dependencies…
      Checking inter-conflicts…

      To install (1):
         go    2:1.18.3-1   (Required By: yay)  community   76.0 MB
      To build (1):
          yay 11.2.0-1            AUR

      Total download size: 76.0 MB
      Total installed size: 429.0 MB

      Edit build files : [e]
      Apply transaction ? [e/y/N]


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.