Install yay

Yaourt wad dead. So I wanna get similer to a new package manager.
yay was made by base on yaourt.

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

Tips

I cluldn’t install yay. These error showd when it install.

$ makepkg -si
==> Making package: yay 9.4.2-1 (Fri 15 Nov 2019 06:08:05 PM JST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading yay-9.4.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   117    0   117    0     0    242      0 --:--:-- --:--:-- --:--:--   242
100  351k    0  351k    0     0   172k      0 --:--:--  0:00:02 --:--:--  434k
==> Validating source files with sha1sums...
    yay-9.4.2.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-9.4.2.tar.gz with bsdtar
==> Starting build()...
/home/arch/yay/PKGBUILD: line 22: make: command not found
==> ERROR: A failure occurred in build().
    Aborting...

Solution

You forget install base-devel packages, please install.

$ sudo pacman -S base-devel

関連記事