Linux Essentials: The Arch User Repository

From LearnLinux.tv Wiki
Revision as of 09:49, 16 February 2021 by Jay (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Overview

In this episode of the "Linux Essentials" series, we look at installing packages from the Arch User Repository.

Relevant Links
Original Video
The Arch User Repository website

Commands Used in this Video

Download Google Chrome from the AUR

https://aur.archlinux.org/packages/google-chrome/
(click "Download Snapshot")

Extract the downloaded archive

tar -xvf google-chrome.tar.gz

Generate the package

cd into the directory, then run:
makepkg -s

Install the generated package

sudo pacman -U google-chrome-<version>.tar.xz

Install git

sudo pacman -S git

Clone yay

git clone https://aur.archlinux.org/yay.git

Build yay

makepkg -s

Install the generated package

sudo pacman -U yay-<version>.tar.xz

Use yay to search for or install a package

yay <package or search term>