Skip to content

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.

7 points16 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
7 · 100% up
Kind
Text
ID
ew447a

Author

60
posts
123
comments
41
media
View profile

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

19 points

that’s not what they say on the Arch forums!

-2 points

That definitely is what they say, at least what I say, who are they?

7 points

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.

3 points

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.

16 points

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.

5 points

Always wondered myself. Probably because it's not a pure (not a KISS) way of installing packages from AUR.

It's not safer than:

git clone https://aur.archlinux.org/$package_name.git
cd $package_name
makepkg -si

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

3 points

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?

3 points

Get a list of packages installed by file via pacman -Qm and check if the packages in the AUR has a newer version

Using an AUR helper of any kind is just way more convenient though

4 points

Yay allows you to check and edit PKGBUILD if you pass it the correct flags.

2 points
unknown author

Deleted before we saved it.

1 points

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.

3 points

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.

3 points

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.

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.