Home Yay
Post
Cancel

Yay

Yay is an AUR helper written in go. It is a wrapper around pacman and makepkg. It is designed to be used with the Arch User Repository to provide an easy way to install packages from the AUR (e.g. vscode).

Installation

1
2
3
4
5
6
7
8
sudo pacman -S --noconfirm base-devel
sudo git clone https://aur.archlinux.org/yay.git
sudo chown -R $USER:users ./yay
sudo chown -W $USER:users ./yay
cd yay
makepkg -si
cd ../
sudo rm -fr yay
  • update all packages yay -Syu --noconfirm
  • install a package yay -S --noconfirm <package>
  • remove a package yay -R --noconfirm <package>
  • list installed packages yay -Q
  • search for a package yay -Ss <package>

You can add --noconfirm to execute without confirmation.

This post is licensed under CC BY 4.0 by the author.