Getting Started with Arch Linux 07 - The Arch User Repository (AUR)

From LearnLinux.tv Wiki
Jump to navigationJump to search

Overview

In the seventh video of the Arch Linux series, we continue learning about package management and 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.rog/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>