In this tutorial, we will show you how to install Yay AUR Helper on Manjaro 21. For those of you who didn’t know, Yay (Yet another Yogurt), is an AUR helper that allows users to install and manage packages on a Manjaro system. During installation, it automates the installation of software packages from PKGBUILDS. Yay replaces Aurman and Yaourt which have long been discontinued. Since its release, Yay has proven to be a remarkable helper and a perfect alternative to the native Pacman package manager.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you through the step-by-step installation of the Yay AUR Helper on a Manjaro 21 (Ornara).
Install Yay AUR Helper on Manjaro 21 Ornara
Step 1. Before running the tutorial below, make sure that our system is up to date:
sudo pacman -Syu
Step 2. Installing Required Dependency.
Run the following command to install the base-devel package which includes all the tools required for compiling or building:
sudo pacman -S --needed base-devel
Next, install Git. This is a free and open-source version control system that allows you to easily manage and keep track of your code repository:
sudo pacman -S git
Step 3. Installing Yay AUR Helper on Manjaro 21.
Now we clone the Yay Git repository using the command below:
cd /opt sudo git clone https://aur.archlinux.org/yay.git
Then, change the permission from the root user to
sudo user. This step is important if you don’t want to get an issue while building yay:
sudo chown -R chedelics:chedelics yay-git/
Finally, install Yay navigate into the cloned directory:
cd yay-git makepkg -si
Once the installation process is complete, you can check the version of yay by running:
Step 4. Using Yay on Manjaro.
Before jumping to install packages using yay first upgrade your system using the below command:
To install a software package, use the syntax:
yay -S package
For example, to install Node.js, run:
yay - S nodejs
To remove a package, use the syntax:
yay -Rns package
Congratulations! You have successfully installed Yay AUR Helper. Thanks for using this tutorial for installing the latest version of the Yay AUR Helper on the Manjaro system. For additional help or useful information, we recommend you check the official Yay website.