Help me understand difference between AUR and Chaotic-AUR...
I have been using Arch for quite some time now, the main reason is AUR. After relying on AUR for so long basically every other distro is complete garbage for me, I simply don't have patience to dig through official repos, snaps, flatpak, gits, debs, rpms and Penguin knows what else.
But despite using it for few years now, I still don't think I understand AUR completly, especially now when I stumbled upon Garuda with it's Chaotic-AUR repos attached by default.
As far as my understanding goes, AUR is a "database" of scripts, that automate process of building software from source, also "porting" it to Arch when doing so. Like let's say there's a "foo" on github and somebody adds it to AUR. The AUR contains script, that is recognized by helper (yay, paru or something else), so it can download, build and install the "foo" package by itself, just like I would do this manually, by cloning, makepkg etc, also adding some features, that make it compatible with Arch, like changing path to some file, that for example is located elsewhere on Ubuntu. Is this correct?
And if so, why do Chaotic-AUR exist? As far as I understand, it contains "prebuilt" packages from AUR, like somebody builds package and drops it to Chaotic. For me the only use is, if for example github repository gets deleted and paru/yay can't clone source files from it, then in Chaotic there's prebuilt latest version they can pull and install. Am I right?
Or maybe I am completly wrong? Please let me know...
About this post
- Posted
- Archived
- Score
- 19 · 74% up
- Kind
- Text
- ID
- poxxbc
29 comments
It's just to save time - Chaotic-AUR prebuilds packages so you don't have to.
Garuda is an "Arch based distro". It is NOT Arch. Just as Manjaro is based on Arch but isn't Arch.
You need to ask your question in the Garuda forums.
There is no "chaotic-aur" in Arch by default.
The chaotic AUR existed way before garuda' so what's your point
Well, Garuda is more Arch than Manjaro, since it uses the same official repos as Arch, where Manjaro has it's own official repos
It's a binary distinction round here. You're either Arch or you're not be it by 1 percent or 100 percent.
It uses its own repo as well. It is mentioned on the front of the Garuda website. It is not Arch anymore than Linux Mint is Ubuntu. Garuda has it's own forums. I'd suggest you look there for better info. And this is NOT meant to be snide. I'm pointing you in the best direction for answers that you are likely to get.
From what I understand Chaotic is a custom repo. So that would be different from the aur.
Wonder why the markdown link doesn't render correctly?
Edit: words are hard
i think you shouldnt put a space between [] and ()
Yes, sorry about that. Fixed the link.
Building takes time, prebuilt packages esp. for large software speed up installs and updates a lot. You also save on installing build dependencies which are not required by the final package.
However one should be very careful using binaries from untrusted sources.
Your understanding seems correct to me. You can however get -bin packages from AUR which will package prebuilt binaries for you.
Some packages take forever to build (lookin at you, legacy Qt), so if you don’t want to tie up your computer with hours on hours of compiling, chaotic might be nice.
It also sometimes happens that the AUR maintainer overlooked some configuration that causes an AUR package to not build on your system. If that’s the case, then sometimes having a prebuilt binary lets you dodge this issue without having to debug the build yourself.
Thank you all for help!
Try compiling Firefox on a pentium 4 1gb of ram ' prebuilt Binaries save life's
The AUR is a collection of user provided git repositories that hold scripts and build instructions in a standardized format. It has a search functionality that enables users and applications to search and find packages programmatically based on certain criteria. L
The data in the git repositories is structured as such that it is understood by makepkg and enables it to build the package.
AUR helpers can order the building of packages in such a way that dependencies are resolved prior to trying to build or install a package from the AUR. Makepkg itself can install dependencies via libalpm (the library used by pacman that implements nearly all of its functionality) or pacman.
The AUR does not contain prebuilt packages. Users need to build them locally. Some packages use data from packages of other distributions, like Debian.
The Chaotic-AUR contains already built packages. These packages are built based on the instructions found on the AUR for the corresponding package. They are usually taken verbatim, without changes to them between fetching of the data and processing via makepk.