Skip to content

Yay – Yet another Yaourt

Syed Sayem edited this page May 16, 2019 · 1 revision

Installation

To install Yay on any Arch-based systems, run the following commands one by one.

$ sudo pacman -S git
$ git clone https://aur.archlinux.org/yay.git
$ cd yay
$ makepkg -si

 

Usage

Like any other AUR helpers, the typical way to install a package from AUR is:

$ yay -S <package-name-here>
Example
$ yay -S google-chrome

To search for a package in AUR and official repositories, use -Ss flag like below.

$ yay -Ss google-chrome
aur/google-chrome 74.0.3729.108-1 (+1800 15.14%) (Installed)
    The popular and trusted web browser by Google (Stable Channel)
[....]

We can also view information of a package in AUR or official repositories.

$ yay -Si google-chrome
:: Querying AUR...
Repository      : aur
Name            : google-chrome
Keywords        : chromium
Version         : 74.0.3729.108-1
Description     : The popular and trusted web browser by Google (Stable Channel)
URL             : https://www.google.com/chrome
AUR URL         : https://aur.archlinux.org/packages/google-chrome
Groups          : None
Licenses        : custom:chrome
Provides        : None
Depends On      : alsa-lib  gtk3  libcups  libxss  libxtst  nss
Make Deps       : None
Check Deps      : None
Optional Deps   : kdialog  gnome-keyring  kwallet  gtk3-print-backends  libunity  ttf-liberation  xdg-utils
Conflicts With  : None
Maintainer      : luzifer
Votes           : 1800
Popularity      : 15.140320
First Submitted : Tue 25 May 2010 04:25:56 PM EDT
Last Modified   : Tue 23 Apr 2019 05:41:43 PM EDT
Out-of-date     : No

To update all packages from AUR and official repositories, use -Syu flag.

$ yay -Syu
Clone this wiki locally