Skip to content

Which AUR helper do you recommend? (One that can be run from a script and installs dependencies)

I'm new to Arch and am wondering which AUR helper (https://wiki.archlinux.org/index.php/AUR_helpers) to use. I've only tried yaourt so far. Does any such helper exist that meets both of these criteria?

  1. Can be run from a script. That takes yaourt out of the mix since it requires user input. I realize the security implications of scripted installs from AUR but I'm fine with that.
  2. Automatically installs dependencies, also non-interactively, whether they are from the AUR or regular Arch packages.

Would be great if the helper were actively-maintained and an overall pleasure to use (a clean and sensible cli interface).

0 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
0 · 100% up
Kind
Text
ID
3junjq

Author

109
posts
183
comments
0
media
View profile

17 comments

Aura installs dependencies and has a "--noconfirm" flag that makes installation fully automagical.

10 points

You don't really need an AUR helper. cower downloads PKGBUILDs from the AUR and then do a simple makepkg -si. Beginners should not use AUR helpers before they understand how to do it the manual way.

8 points

But you need to do it the manual way the first time anyhow since most helpers are in AUR.

1 points

It is a matter of doing it often enough so that it sticks in the mind.

I'm not aware of a helper that isn't in the AUR. Pretty sure cower is written by one of the Arch devs. If it isn't even in the community repo, then I don't think anything will be.

2 points

Just because a program has user input doesn't mean it can't be scripted. Look up a program called expect. With it you can write scripts that expect input.

4 points

Yes, but when the programs have a means of not requiring user interaction, it is an unnecessary level of complication.

1 points

I love aura, and it has --noconfirm. But it doesn't work right in docker containers, so I have been using apacman for those. It also seems to work, and is obviously scriptable too. I just don't like that it has the same command to install from the normal repositories and AUR; so I still use aura for my regular machines.

4 points

Don't have much experience with other aur helpers, buy yaourt does the job for me.

In my install script I just use "yaourt - S <package name> --noconfirm"

3 points

Yaourt, I've been using it since I first installed Arch a couple of years ago.

3 points

yaourt is very good imo. I used pacaur before and had some issues with it.

2 points

Aura is my favourite.

Pacaur threw up random error messages that I could not get my head around and I prefer using my helper to upgrade AUR packages separately from normal pacman packages.

2 points

i used one called pm, but i checked today and its not available anymore. anyone knows what happened to it?

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