Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

How to Install Yay AUR Helper in Arch Linux and Manjaro - DesignLinux

May 29 2020
designlinux 0 Comments

The tow commonly used AUR helpers in Arch Linux are Yaourt and Packer. You can easily use them for Arch Linux package management tasks such as installing and updating packages.

However, the two have been discontinued in favour of yay, short for Yet Another Yaourt. Yay is a modern AUR helper written in the GO language. It has very few dependencies and supports AUR tab-completion so that you don’t have to type the commands in full. Just type the first few letters and hit ENTER.

In this article, we demonstrate how you can install Yay AUR helper on Arch Linux or Manjaro which is based on Arch and see a few examples of how you can use Yay.

Installing Yay AUR Helper in Arch Linux and Manjaro

To start off, log in as a sudo user and run the command below to download the git package.

$ sudo pacman -S git
Install Git on Arch Linux

Install Git on Arch Linux

Next, clone the yay git repository.

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

Clone Yay Git Repository

Change the file permissions from the root the sudo user.

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

Set Permissions on Yay AUR Helper

To build the package from PKGBUILD, navigate into the yay folder.

$ cd yay-git

Next, build the package using the makepkg command below.

$ makepkg -si
Install Yay AUR Helper in Arch Linux

Install Yay AUR Helper in Arch Linux

How to Use Yay in Arch Linux and Manjaro

Once you have yay installed, you can upgrade all the packages on your system using the command.

$ sudo yay -Syu

To include development packages during the upgrade run.

$ yay -Syu --devel --timeupdate

As with any other AUR helpers, you can install the packages using the command.

$ sudo yay -S gparted

To remove a package using yay use the command.

$ sudo yay -Rns package_name

To clean up all unwanted dependencies on your system, issue the command.

$ sudo yay -Yc

If you want to print system statistics using yay, run.

$ sudo yay -Ps

And this sums up this brief tutorial on how you can install the yay AUR helper in Arch Linux and Manjaro.

Sharing is Caring…
Share on FacebookShare on TwitterShare on LinkedinShare on Reddit

Related

Tags: Arch Linux Tips, Manjaro Linux Tips

How to Install Odoo 13 in Ubuntu

Prev Post

Pentoo – A Security-Focused Linux Distro Based on Gentoo

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 0
  • 489
  • 612,668

DesignLinux.com © All rights reserved

Go to mobile version