this post was submitted on 15 Mar 2025
11 points (92.3% liked)

Arch Linux

8450 readers
50 users here now

The beloved lightweight distro

founded 5 years ago
MODERATORS
 

I have failed my reading comprehension.

I can't find an answer in: https://wiki.archlinux.org/title/Arch_User_Repository or in search engine AI slop

sudo pacman -Syu cbonsai command can't find a package

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 3 weeks ago

The AUR is essentially a non-curated repository of scripts named PKGBUILD which perform some actions and build a package pacman can install. The expected way to use it is to download the PKGBUILD file to a folder, read it to ensure it is not malicious and run makepkg which will generate a package you can install with pacman.

That being said most people use a helper which does all of that automatically. My recommendation is to install yay or paru using the process I mentioned above to understand it, and from then on use that program to install new stuff. Both of them are drop-in replacements for pacman so you can use them for all package installation.