Skip to content

yay – an AUR Helper Written in Go

by Bryanpwo

Warning: Installing packages built from the AUR is at your own risk. These build instructions are user-provided content and not supported by Arch Linux, so be aware that installing from it can cause system failures.

Although the official Arch repo houses a lot of useful packages, some packages aren’t included in it because of various reasons like being closed source, custom-made packages by Arch users, or because the original package creator dropped support for it and it’s being maintained by Arch users.

Unlike the packages in the Arch repo, the AUR build instructions are being maintained by Arch users and the majority are doing this on the side as a hobby next to their regular lives. Therefore package updates aren’t tested extensively and can cause trouble by a non-responding app or even can cause breakage to the system, so using it is your own responsibility. However, don’t hesitate to ask the community for help if an update has caused problems, we will help you anyway.

Having informed you of that, you can use yay to install packages from the AUR and Pacman easily.

Installing packages

To install packages with yay is basically the same as with using pacman itself:

yay -S package_name

With yay you can also get a choice and let it search if there are may alternatives:

yay package_name

After that, you will see a numbered list of the package name in the installed repos of your system. Simply type in the number of the package version you want to install and yay are going to install it on your system.

If you want some more information on a package you can type in:

yay -Si package_name

Yay can also update both Pacman and AUR packages at once by this command:


This will call yay -Syu which is set as default on running yay.

Again, think twice before using built from AUR and ask yourself if you really need the package you want to install.

If you use yay to install and search, it will always show both real packages from the repositories and the AUR build options you can be built with yay using the built instructions and files it will download from the AUR.

You can search and install or remove normal packages from the repositories using yay.

You can identify where it finds the search term as a package or AUR build-instructions-files in the output:

More information:

AUR official Website:


About AUR helpers:

About building packages:

yay – an AUR Helper Written in Go

  • by