If you want to use packages from the AUR you'll need to install a AUR helper like yay or paru. In this guide, I'm going to show you how to install yay.
Installation
First we'll have to make sure the base-devel
package is installed and install git.
$ sudo pacman -S --needed git base-devel
Then we'll clone the yay repo enter it:
$ git clone https://aur.archlinux.org/yay.git
# And change directory into it
$ cd yay
Now we can build it with makepkg.
$ makepkg -si
Alternatively you can also run this chained command:
$ pacman -S --needed git base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si
This simple guide showed you how to install yay on Arch.
If I have helped you, consider signing up for free to get access to all my guides and my newsletter.
💪
Consider signing up for free to get access to all my guides and my newsletter