Package management can sometimes be a bit overwhelming, especially on rolling Linux systems. Pacman offers a lot in terms of management packages, but not so great for finding and installing user packages in AUR (Arch User Repository). But YAY takes quite a bit of the pain away. Here’s the skinny on how to get it up and running.
Install Prerequisites
First thing’s first, let’s get the prerequisites in for git and development.
sudo pacman -S –needed base-devel git
Install Yay
Next, let’s install the binary git of yay. I’ve found the yay-bin to be more reliable and faster than the standard repo. Let’s clone that locally first.
git clone https://aur.archlinux.org/yay-bin.git
Once the repo is cloned, let’s git in there and install it. See what I did there, no? Okay…moving on. Let’s install it.
cd yay-bin
makepkg -si
Test It
That’s all there is to it. You should be able to use yay in all its glory. Let’s verify shall we?
yay
:: Synchronizing package databases…
core 121.4 KiB 196 KiB/s 00:01 [########################################] 100%
extra 7.8 MiB 251 KiB/s 00:32 [########################################] 100%
multilib 140.4 KiB 97.3 KiB/s 00:01 [########################################] 100%
:: Searching AUR for updates…
:: Searching databases for updates…
Conclusion
Yay has a lot to offer in terms of package management. You can directly install packages using the same syntax as pacman as well as loose search and selection of packages. I hope this helps and thanks for dropping by. Like always, please feel free to drop me line in the comments if you have questions or comments.
0 Comments