Quick question from an Ubuntu noob
Hi guys, so I've never really used Arch before apart from dicking around with Manjaro in a VirtualBox VM.
I'm just wondering why the general piece of advice is "Don't use an AUR helper"? And why most of the community is against using AUR helpers?
EDIT: So four hours later and I've switched to using Arch Linux...
Edited 30 Jan 2020. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 7 · 100% up
- Kind
- Text
- ID
- ew447a
17 comments
The advice isn't "don't use an AUR helper", it's "don't use an AUR helper until you understand how AUR works".
that’s not what they say on the Arch forums!
That definitely is what they say, at least what I say, who are they?
AUR helpers are not supported, but I think you'll find most people recommend using one on the forums. As long as you know what it's doing that is.
I can’t speak for others but I’d say it’s because you should know what’s happening first and then automate that process.
Agreed. Nothing wrong with using an AUR helper if you understand the consequences, but a very good way to understand the consequences is to really read a PKGBUILD and run the build yourself. You'll see that it might pull sources from some random GitHub repository, and that it can run arbitrary code both as part of the build and as part of whatever binaries it might install. Among other things.
First Nobody are noob my dood ♥️
<3
Always wondered myself. Probably because it's not a pure (not a KISS) way of installing packages from AUR.
It's not safer than:
Without reading PKGBUILD content.
I myself find using helpers very convenient. Mainly gui pamac (with yay as backup) but always skim through PKGBUILD.
P.S. pamac is even more not a KISS lol
How do you track updates when you do this? I know some packages check for updates and let you know that there’s new update but what about others?
Get a list of packages installed by file via
pacman -Qmand check if the packages in the AUR has a newer versionUsing an AUR helper of any kind is just way more convenient though
Yay allows you to check and edit PKGBUILD if you pass it the correct flags.
Deleted before we saved it.
I read the scripts and patches before building. If I notice something I don't like, I modify it or don't use it. A helper can't do it for me.
One of the reasons against most aur helpers is that PKGBUILDs are basically fancy bash scripts, you should carefully read them (and .install files) before running them (feeding them to makepkg), just like all scripts from the internet.
It's because it's officially unsupported. You will probably not get any help in the arch repos, and might not get much here either. I would recommend learning the official way first, aur packages only take a couple lines to install manually. The issue comes when you have multiple packages to track. At that point you should be comfortable enough to troubleshoot the helper yourself. You can use auracle to track packages and manually update, or just use something like yay. If you feel like learning something interesting, check out the aurutils package.