Felipe's Blog

Your go-to source for Linux/Unix-like – tech – engineering.

Archive for the ‘Arch’ Category

Install and Use yay on Arch Linux

without comments

A AUR helper like yay lets you download and install packages from the Arch User Repository.

Pacman is a powerful package manager that comes default on Arch-based distributions, but lacks the functionality of uploading packages to the Arch User Repository .
The AUR is a community managed repository providing thousands of third party packages in the form of scripts also known as PKGBUILD.

To install packages using these PKGBUILDs, need an AUR helper like yay.
yay is not pre-installed on Arch Linux nor is it available in official Arch repositories.
So how do you install yay to download packages from on your Arch desktop?
Let’s find out.

Installing, yay on Arch Linux

The yay package is only available in the Arch User Repository.
Note that you can manually install packages from the AUR without using an AUR helper, but as its says, an “AUR helper” assists you in the process which allows you install more packages easily with minimal user interaction.

sudo pacman -S --needed base-devel git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Then Check the version:

yay --version

Then you can install any sort of package:

yay -S google-chrome

Written by Felipe

April 25th, 2023 at 4:59 pm

Posted in Arch,General,Linux

Tagged with , , ,