LinuxManjaroTutorials

How To Install Yay AUR Helper on Manjaro 21

Install Yay AUR Helper on Manjaro 21

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 is a popular AUR helper that simplifies the process of installing packages from the Arch User Repository (AUR). AUR is a community-driven repository that contains user-contributed packages that are not available in the official Arch Linux repositories. The AUR packages are often the latest development versions or packages that are not accepted by the official repositories due to their niche nature. Yay provides an easy-to-use command-line interface that automates the installation, update, and removal of AUR packages. It uses the same syntax as pacman, the official Arch Linux package manager, and provides additional features such as package searching, dependency resolution, and package conflicts resolution.

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 the step-by-step installation of the Yay AUR Helper on a Manjaro 21 (Ornara).

Prerequisites

  • A server running one of the following operating systems: Manjaro 21.
  • It’s recommended that you use a fresh OS install to prevent any potential issues.
  • SSH access to the server (or just open Terminal if you’re on a desktop).
  • A non-root sudo user or access to the root user. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.

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
sudo pacman -S git base-devel

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 and 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:

yay --version

Step 4. Using Yay on Manjaro.

Before jumping to install packages using yay first upgrade your system using the below command:

yay -syu

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

Print command help list:

yay --help

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.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!

r00t

r00t is an experienced Linux enthusiast and technical writer with a passion for open-source software. With years of hands-on experience in various Linux distributions, r00t has developed a deep understanding of the Linux ecosystem and its powerful tools. He holds certifications in SCE and has contributed to several open-source projects. r00t is dedicated to sharing her knowledge and expertise through well-researched and informative articles, helping others navigate the world of Linux with confidence.
Back to top button