You are not logged in.
When using yay (the AUR helper) to install packages, regardless of what I say in the beginning (when it asks me if I want to build from source etc.), it always seems to me that the packages are built from source, especially from seeing the output during installation***. On the other hand pacman installs are almost always faster, and this output I'm referencing is never there. Is this intended behavior, or am I doing something wrong?
*** things like a bunch of compiler messages and warnings
Last edited by aneeshdg16 (2024-05-13 02:14:13)
Offline
I think I found an answer from someone on Reddit
https://www.reddit.com/r/linux4noobs/co … are_button
My understanding if you're pulling from the AUR using Yay. It's not just pulling from the AUR, it's pulling from GitHub or wherever the main code is stored. Then it's got to compile that code, unless you're downloading bin files. While Pacman is pulling from the main Arch Repo of already compiled software.
I'll mark the thread as solved after someone here confirms this?
Last edited by aneeshdg16 (2024-05-04 07:30:03)
Offline
Yay is not a good tool to learn how Arch works. Pacman will only install packages from the repositories you specified in the pacman config, while yay will build AUR packages and install repository packages. This generally is intended behavior of yay, but yay seems to decide a lot of things on its own. I've read some recent posts, where yay tried to compile chromium from the AUR instead installing the repository package.
Do yourself a favor and try the AUR the way it's meant and then decide which AUR helper suits you best. While yay is comfortable, it introduces issues yay users are usually unequipped to fix, because the tool is so damn opaque.
1. https://wiki.archlinux.org/title/Arch_User_Repository
2. https://wiki.archlinux.org/title/Makepkg
3. https://wiki.archlinux.org/title/AUR_helpers
If you want a (temporary) quick way out of this mess, use pacman for everything from the repositories and use yay with the --aur flag, so it will only manage AUR packages (besides installing dependencies for AUR packages from the repos).
Offline
I'll follow the temporary advice you gave for right now, and when I have the time I'll learn more about the AUR through the links you sent. Thank you!!
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline