AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Endeavouros1/1/2024 ![]() TL DR, usually it is sufficient to just run: yay package_name To learn how to use yay to automate this process: With time and experience, you’ll be much more comfortable with all of this. But in order to understand what’s going on, and avoid potential pitfalls, it’s beneficial to know how to do this manually. This is why, normally, you should use an AUR helper, because it makes life so much easier. This whole process of building and installing a package from the AUR is what an AUR helper like yay does automatically for you (except step 5, but yay gives you a convenient way to look at the PKGBUILD file), and it also keeps track of all installed foreign packages, and allows you to update them when they are updated on the AUR. So we can just sudo pacman -S yay (we don’t even need to do this, because EndeavourOS comes with yay preinstalled). Of course, when it comes to yay on EndeavourOS specifically, you don’t have to do this, because the yay package happens to be in the endeavouros repo, for our convenience. And there you go, now you have yay installed (assuming there were no errors). Give it some time… When the package is built, pacman will be launched again to install it. ![]() After you do so, the building of the package yay will commence. Unless you already have it installed, pacman will be launched and prompt you to install it from the repos (asking you for your sudo password). Looks like a normal PKGBUILD to me 1, nothing malicious in there, so we’re good to go (hit Q to exit less).Ī make dependency for yay is go (the compiler for the Go language). We can quickly glance through it using the less command: less PKGBUILD
0 Comments
Read More
Leave a Reply. |