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?
- 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.
- 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).
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 3junjq
17 comments
pacaur
Cower doesn't suck
Aura installs dependencies and has a "--noconfirm" flag that makes installation fully automagical.
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.But you need to do it the manual way the first time anyhow since most helpers are in AUR.
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
coweris written by one of the Arch devs. If it isn't even in the community repo, then I don't think anything will be.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.
Yes, but when the programs have a means of not requiring user interaction, it is an unnecessary level of complication.
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.
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"
Yaourt, I've been using it since I first installed Arch a couple of years ago.
yaourt is very good imo. I used pacaur before and had some issues with it.
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.
Octopi in conjunction with yaourt
pacaur
i used one called pm, but i checked today and its not available anymore. anyone knows what happened to it?