How to Setup & Use Arch User Repo (AUR) - creationsoftre/Arch-Linux-wiki GitHub Wiki
The AUR is the Arch User Repository, it essentially holds a bunch of packages from the arch community not found in the official repository.
- Yay stands for yet another yogurt
- Yay is like pacman but for the AUR
- It is written in Go
Install git
sudo pacman -S git
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
If you get error: ERROR: you do not have write permission for directory $BUILDDIR (home/user/yay). Aborting…
Run chown to modify perms
sudo chown -R user /home/user/yay
Install a package
yay -S <package>
Repository AUR options:
- Binary (recommended)
- -bin/-git Latest Version
Remove a package
yay - R <package>
remove package and dependencies
yay - Rns <package>
Include all packages even if installed with pacman
yay -Syu
This does the same thing
yay
Includes -git installed packages
yay -Syu --devel
This will just search
yay -sS <package>
This will search and ask if you want to install
yay <package>
this will get info about the package, including
yay -Si <package>
yay -Pu
yay -Yc
- Run once a month ib cron job (optional)
yay --sudoloop -save
sudo pacman -U ~/.cache/yay/
Uncomment color option in /etc/pacman.conf
nvim /etc/pacman.conf
pacman -S fzf
Fuzzy-search through all available packages, with package info shown in a preview window, and then install selected packages
pacman -Slq | fzf --multi --preview 'pacman -Si {1}' | xargs -ro sudo pacman -S