Home / Linux / How to Install Yay AUR Helper in Arch Linux and Manjaro

How to Install Yay AUR Helper in Arch Linux and Manjaro

How to Install Yay AUR Helper in Arch Linux and Manjaro

The tow generally used AUR helpers in Arch Linux are Yaourt and Packer. You can simply use them for Arch Linux bundle administration duties similar to putting in and updating packages.

However, the 2 have been discontinued in favour of yay, brief for Yet Another Yaourt. Yay is a contemporary AUR helper written in the GO language. It has only a few dependencies and helps AUR tab-completion so that you just don’t have to kind the instructions in full. Just kind the primary few letters and hit ENTER.

In this text, we display how one can set up Yay AUR helper on Arch Linux or Manjaro which is predicated on Arch and see just a few examples of how you should use Yay.

Installing Yay AUR Helper in Arch Linux and Manjaro

To begin off, log in as a sudo consumer and run the command beneath to obtain the git bundle.

$ sudo pacman -S git
Install Git on Arch LinuxInstall Git on Arch Linux

Install Git on Arch Linux

Next, clone the yay git repository.

$ cd /choose
$ sudo git clone https://aur.archlinux.org/yay-git.git
Clone Yay Git RepositoryClone Yay Git Repository

Clone Yay Git Repository

Change the file permissions from the foundation the sudo consumer.

$ sudo chown -R tecmint:tecmint /yay-git
Set Permissions on Yay AUR HelperSet Permissions on Yay AUR Helper

Set Permissions on Yay AUR Helper

To construct the bundle from PKGBUILD, navigate into the yay folder.

$ cd yay-git

Next, construct the bundle utilizing the makepkg command beneath.

$ makepkg -si
Install Yay AUR Helper in Arch LinuxInstall Yay AUR Helper in Arch Linux

Install Yay AUR Helper in Arch Linux

How to Use Yay in Arch Linux and Manjaro

Once you’ve yay put in, you may improve all of the packages in your system utilizing the command.

$ sudo yay -Syu

To embody growth packages in the course of the improve run.

$ yay -Syu --devel --timeupdate

As with every other AUR helpers, you may set up the packages utilizing the command.

$ sudo yay -S gparted

To take away a bundle utilizing yay use the command.

$ sudo yay -Rns package_name

To clear up all undesirable dependencies in your system, challenge the command.

$ sudo yay -Yc

If you need to print system statistics utilizing yay, run.

$ sudo yay -Ps

And this sums up this temporary tutorial on how one can set up the yay AUR helper in Arch Linux and Manjaro.

About Agent

Check Also

Google Anthos Update Aims at AWS, Puts Azure in Crosshairs

Google Anthos Update Aims at AWS, Puts Azure in Crosshairs Google …

Leave a Reply

Your email address will not be published. Required fields are marked *