Skip to content

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...

19 points29 comments
Open on Reddit
About this post
Posted
Archived
Score
19 · 74% up
Kind
Text
ID
poxxbc

Author

23
posts
33
comments
5
media
View profile

29 comments

It's just to save time - Chaotic-AUR prebuilds packages so you don't have to.

19 points

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.

15 points
unknown author

The chaotic AUR existed way before garuda' so what's your point

6 points

Well, Garuda is more Arch than Manjaro, since it uses the same official repos as Arch, where Manjaro has it's own official repos

2 points

It's a binary distinction round here. You're either Arch or you're not be it by 1 percent or 100 percent.

15 points

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.

9 points
unknown author3 hidden

From what I understand Chaotic is a custom repo. So that would be different from the aur.

11 points

Wonder why the markdown link doesn't render correctly?

Edit: words are hard

2 points
unknown author

Yes, sorry about that. Fixed the link.

1 points

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.

11 points

Your understanding seems correct to me. You can however get -bin packages from AUR which will package prebuilt binaries for you.

8 points

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.

4 points
unknown author

Try compiling Firefox on a pentium 4 1gb of ram ' prebuilt Binaries save life's

3 points

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.

2 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.