Skip to main content

Install yay

Yay is a direct replacement for Pacman, all the commands do the same thing, except with the added benefit of searching the AUR for package names as well as the normal repositories.

Install Commands:

sudo pacman -Syy
sudo pacman -S --needed base-devel
sudo pacman -S git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
  • note: makepkg flags: -s = install missing dependancies, -i = install package after building.

Results:

use yay instead of pacman for all package management tasks.

In the future, yay will update itself during full system upgrades (yay -Syyu or just yay). See the next page in this guide for fixes to some issues that may interrupt these upgrades.