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
Next, clone the yay git repository.
$ cd /choose $ sudo git clone https://aur.archlinux.org/yay-git.git
Change the file permissions from the foundation the sudo consumer.
$ sudo chown -R tecmint:tecmint /yay-git
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
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.