this post was submitted on 08 Jan 2026
7 points (88.9% liked)
Arch Linux
452 readers
1 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Read https://wiki.archlinux.org/title/Arch_User_Repository
"Installing from the AUR" usually means:
Anyone can easily register and upload AUR packages in seconds or minutes.
This makes it a high-risk vector for malware and there is indeed malware uploaded to the AUR all the time. Looking at the NPM malware development, the increased popularity of Linux, and the already ongoing cyberattacks on AUR itself, this will only get worse.
The idea is that you are expected to manually inspect and vet the PKGBUILD yourself by doing these steps before you run makepkg itself. With great power comes great responsibility. Developers realize that it is not responsible to make a tool specifically designed to make dangerous behavior and explicitly bypassing safeguards, stopgaps and best-practice protocols more convenient than the alternative, when it will be targeted to uneducated users.
As wltr mentioned, there are helpers, but you really should pick one that involves that manual inspection (like aurutils), and after becoming comfortable enough with git+makepkg+pacman to make it routine.
TLDR: If you can't or won't vet PKGBUILDs of AUR packages you shouldn't be blindly installing them.
So it's a safety measure for people like me? That implies that I am capable of recognising malicious software. It seems like I've got even more reading to do.
Thank you for the explanation.
In one way I think so, yes.
Many people obviously offload trust to the community to some extent, (probably much more than we should, reflected in popularity of helpers like the one you asked for), which involves the AUR discussions and votes, and the Arch wiki.
Sometimes a flatpak or container image, or straight up compiling from instructions, is the easier answer.
Have fun and be careful but curious out there! How obscure AUR packages you will be able deal with safely depends on your level of ambition.