Difference between revisions of "AUR helpers"

From ArchWiki
Jump to: navigation, search
(Legend: use updated descriptions for "batch interaction" by User:Spyhawk, see talk)
(remove minor (and non-AUR) features from "specificity" to make space for "batch interaction")
Line 79: Line 79:
 
|-
 
|-
 
! {{AUR|bauerbill}}
 
! {{AUR|bauerbill}}
| Python || {{Yes}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh || {{L|trust management, [[ABS]] support, extends ''powerpill'', {{ic|bb-wrapper}} for ''pacman'' wrapping}}
+
| Python || {{Yes}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh || {{L|trust management, {{ic|bb-wrapper}} for ''pacman'' wrapping}}
 
|-
 
|-
 
! {{AUR|PKGBUILDer}}
 
! {{AUR|PKGBUILDer}}
| Python || {{Y|Optional}} || {{No|https://github.com/Kwpolska/pkgbuilder/issues/36}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Kwpolska/pkgbuilder/issues/39 Partial]}} || {{Yes}} || {{-}} || {{L|automatic builds by default, use {{ic|-F}} to disable; multilingual, {{ic|pb-wrapper}} for ''pacman'' wrapping}}
+
| Python || {{Y|Optional}} || {{No|https://github.com/Kwpolska/pkgbuilder/issues/36}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Kwpolska/pkgbuilder/issues/39 Partial]}} || {{Yes}} || {{-}} || {{L|automatic builds by default, use {{ic|-F}} to disable; {{ic|pb-wrapper}} for ''pacman'' wrapping}}
 
|-
 
|-
 
! {{AUR|repofish}}
 
! {{AUR|repofish}}
Line 88: Line 88:
 
|-
 
|-
 
! {{AUR|rua}}
 
! {{AUR|rua}}
| Rust || {{Yes}} || {{No|https://github.com/vn971/rua/issues/1}} || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/fc8c2f3}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh, fish || {{L|tar artifact inspections (SUID, install file etc), isolated build, offline build}}
+
| Rust || {{Yes}} || {{No|https://github.com/vn971/rua/issues/1}} || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/fc8c2f3}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh, fish || {{L|[[bubblewrap]] support}}
 
|-
 
|-
 
! {{Grey|{{AUR|burgaur}} <br> <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
 
! {{Grey|{{AUR|burgaur}} <br> <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
Line 94: Line 94:
 
|-
 
|-
 
! {{Grey|{{AUR|naaman}} <br> <small>([https://github.com/enckse/naaman/issues/20#issuecomment-433781874 discontinued])</small>}}
 
! {{Grey|{{AUR|naaman}} <br> <small>([https://github.com/enckse/naaman/issues/20#issuecomment-433781874 discontinued])</small>}}
| Python || {{Y|Optional}} || {{No}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/enckse/naaman/issues/19 Partial]}} || {{Y|[https://github.com/enckse/naaman/issues/20 Partial]}} || {{Yes}} || bash || {{L|automatic builds by default, use {{ic|--fetch}} to disable; use {{ic|-d}} to enable the solver}}
+
| Python || {{Y|Optional}} || {{No}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/enckse/naaman/issues/19 Partial]}} || {{Y|[https://github.com/enckse/naaman/issues/20 Partial]}} || {{Yes}} || bash || {{L|automatic builds by default, use {{ic|--fetch}} to disable; use {{ic|-d}} for dependency resolution}}
 
|-
 
|-
 
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach discontinued])</small>}}
 
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach discontinued])</small>}}
Line 108: Line 108:
 
|-
 
|-
 
! {{AUR|aura}}
 
! {{AUR|aura}}
| Haskell || {{Y|Optional}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || {{No|https://github.com/aurapm/aura/pull/346}} || {{Yes|https://github.com/aurapm/aura/commit/7848e983}} || {{No}} || {{No|https://github.com/aurapm/aura/issues/353}} || {{Yes}} || {{-}} || bash, zsh || {{L|automatic builds by default, use {{ic|--dryrun}} to disable; [[downgrade]] support, multilingual}}
+
| Haskell || {{Y|Optional}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || {{No|https://github.com/aurapm/aura/pull/346}} || {{Yes|https://github.com/aurapm/aura/commit/7848e983}} || {{No}} || {{No|https://github.com/aurapm/aura/issues/353}} || {{Yes}} || {{-}} || bash, zsh || {{L|automatic builds by default, use {{ic|--dryrun}} to disable}}
 
|-
 
|-
 
! {{AUR|packer-aur-git}}
 
! {{AUR|packer-aur-git}}
Line 114: Line 114:
 
|-
 
|-
 
! {{AUR|pakku}}
 
! {{AUR|pakku}}
| Nim || {{Yes}} || {{Yes|https://github.com/kitsunyan/pakku/commit/396e9f4}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/kitsunyan/pakku/commit/864cc03}} || [https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation -Sy] || bash, zsh || {{L|[[ABS]] support, AUR comments, fetch PGP keys}}
+
| Nim || {{Yes}} || {{Yes|https://github.com/kitsunyan/pakku/commit/396e9f4}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/kitsunyan/pakku/commit/864cc03}} || [https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation -Sy] || bash, zsh || {{L|fetch PGP keys}}
 
|-
 
|-
 
! {{AUR|pikaur}}
 
! {{AUR|pikaur}}
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/actionless/pikaur/commit/d409b95}} || {{Yes}} || [https://github.com/actionless/pikaur#pikaur -Sy] || bash, fish, zsh || {{L|[[ABS]] support, [http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], [https://github.com/actionless/pikaur/tree/master/locale multilingual], print news}}
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/actionless/pikaur/commit/d409b95}} || {{Yes}} || [https://github.com/actionless/pikaur#pikaur -Sy] || bash, fish, zsh || {{L|[http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], batch interaction}}
 
|-
 
|-
 
! {{AUR|trizen}}
 
! {{AUR|trizen}}
| Perl || {{Yes}} || {{Yes}} ||{{Yes|https://github.com/trizen/trizen/commit/6fb0cc9}} || {{Yes|https://github.com/trizen/trizen/commit/7ab7ee5f}}  || {{Yes}} || {{Y|[https://github.com/trizen/trizen/issues/46 Partial]}} || {{Yes}} || {{Y|[https://github.com/trizen/trizen/commit/9e7b40e -Ud*] || bash, fish, zsh || {{L|automatic builds by default, use {{ic|-G}} to disable; AUR comments}}
+
| Perl || {{Yes}} || {{Yes}} ||{{Yes|https://github.com/trizen/trizen/commit/6fb0cc9}} || {{Yes|https://github.com/trizen/trizen/commit/7ab7ee5f}}  || {{Yes}} || {{Y|[https://github.com/trizen/trizen/issues/46 Partial]}} || {{Yes}} || {{Y|[https://github.com/trizen/trizen/commit/9e7b40e -Ud*] || bash, fish, zsh || {{L|automatic builds by default, use {{ic|-G}} to disable}}
 
|-
 
|-
 
! {{AUR|wrapaur}}
 
! {{AUR|wrapaur}}
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
+
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
 
! {{AUR|yay}}
 
! {{AUR|yay}}
| Go || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/447}} || {{Yes|https://github.com/Jguer/yay/pull/297}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/Jguer/yay/commit/3bdb534 -Sy*]<br>[https://github.com/Jguer/yay/commit/ea5a94e --ask*] || bash, fish, zsh || {{L|fetch PGP keys, [https://github.com/Jguer/yay/commit/4bcd3a6 prompt architecture]}}
+
| Go || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/447}} || {{Yes|https://github.com/Jguer/yay/pull/297}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/Jguer/yay/commit/3bdb534 -Sy*]<br>[https://github.com/Jguer/yay/commit/ea5a94e --ask*] || bash, fish, zsh || {{L|fetch PGP keys, batch interaction}}
 
|-
 
|-
 
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use discontinued])</small>}}
 
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use discontinued])</small>}}
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving}} || {{Yes}} || {{Yes}} || [https://github.com/polygamma/aurman/commit/6c02ba3 -Sy*]<br>[https://github.com/polygamma/aurman#make-use-of-the-undocumented---ask-flag-of-pacman --ask*] || bash, fish || {{L|fetch PGP keys, print news}}
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving}} || {{Yes}} || {{Yes}} || [https://github.com/polygamma/aurman/commit/6c02ba3 -Sy*]<br>[https://github.com/polygamma/aurman#make-use-of-the-undocumented---ask-flag-of-pacman --ask*] || bash, fish || {{L|fetch PGP keys, batch interaction}}
 
|-
 
|-
 
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
 
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/rmarquis/pacaur/commit/d8f4918 -Ud]<br>[https://github.com/rmarquis/pacaur/commit/12707cc --ask] || bash, zsh || {{L|multilingual}}
+
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/rmarquis/pacaur/commit/d8f4918 -Ud]<br>[https://github.com/rmarquis/pacaur/commit/12707cc --ask] || bash, zsh || {{L|batch interaction}}
 
|-
 
|-
 
! {{Grey|{{AUR|yaourt}} <br> <small>([https://github.com/archlinuxfr/yaourt/issues/382#issuecomment-437461631 discontinued])</small>}}
 
! {{Grey|{{AUR|yaourt}} <br> <small>([https://github.com/archlinuxfr/yaourt/issues/382#issuecomment-437461631 discontinued])</small>}}
| Bash/C || {{No|https://github.com/archlinuxfr/yaourt/blob/34b5c0b/src/lib/aur.sh#L54-L72}} || {{Y|Optional}} || {{Y|Optional}} || {{No}} || {{No|https://github.com/archlinuxfr/yaourt/issues/186}} || {{No|https://github.com/archlinuxfr/yaourt/issues/85}} || {{No|https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html}} || [https://github.com/archlinuxfr/yaourt/blob/d30823e/yaourt/yaourt#L1773 -Sy] || bash, fish, zsh || {{L|ABS support, print AUR comments, multilingual}}
+
| Bash/C || {{No|https://github.com/archlinuxfr/yaourt/blob/34b5c0b/src/lib/aur.sh#L54-L72}} || {{Y|Optional}} || {{Y|Optional}} || {{No}} || {{No|https://github.com/archlinuxfr/yaourt/issues/186}} || {{No|https://github.com/archlinuxfr/yaourt/issues/85}} || {{No|https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html}} || [https://github.com/archlinuxfr/yaourt/blob/d30823e/yaourt/yaourt#L1773 -Sy] || bash, fish, zsh || {{-}}
 
|}
 
|}
  

Revision as of 14:04, 8 December 2018

Warning: AUR helpers are not supported by Arch Linux. You should become familiar with the manual build process in order to be prepared to troubleshoot problems.
Note: Please use the discussion page to suggest edits to this article: Talk:AUR helpers.

AUR helpers automate certain usage of the Arch User Repository. Most AUR helpers can search for packages in the AUR and retrieve their PKGBUILDs – others additionally assist with the build and install process.

Pacman only handles updates for pre-built packages in its repositories. AUR packages are redistributed in form of PKGBUILDs and need an AUR helper to automate the re-build process. However, keep in mind that a rebuild of package may be required when its shared library dependencies are updated, not only when the package itself is updated.

Since AUR helpers are unsupported, they are not present in the official repositories.

Legend

The #Comparison table columns have the following meaning:

File review
Does not source the PKGBUILD at all by default; or, alerts the user and offers the opportunity to inspect the PKGBUILD manually before it is sourced. Some helpers are known to source PKGBUILDs before the user can inspect them, allowing malicious code to be executed. Optional means that there is a command line flag or configuration option to prevent the automatic sourcing before viewing.
Diff view
Ability to view package differences on inspection. Besides the PKGBUILD, this includes changes to files such as .install or .patch files.
Git clone
Uses git-clone(1) by default to retrieve build files from the AUR.
Reliable parser
Ability to handle complex packages by using the provided metadata (RPC/.SRCINFO) instead of PKGBUILD parsing, such as aws-cli-gitAUR.
Reliable solver
Ability to correctly solve and build complex dependency chains, such as ros-lunar-desktopAUR.
Split packages
Ability to correctly build and install:
  • Multiple packages from the same package base, without rebuilding or reinstalling multiple times, such as clionAUR
  • Split packages which depend on a package from the same package base, such as libc++AUR and libc++abiAUR.
  • Split packages independently, such as python-pyalsaaudioAUR and python2-pyalsaaudioAUR.
Clean build
Does not export new variables that can prevent a successful build process.
Batch interaction
Ability to prompt before the build process and package transactions, in particular:
  1. Inspection of package files or their differences;
  2. Combined summary of repository and AUR package upgrades;
  3. Resolution of package conflicts and choice of providers.
An asterisk denotes functionality specifically enabled by the user.
Shell completion
Tab completion is available for the listed shells.
Note: Optional means that a feature is available, but only through a command-line argument or configuration option. Partial means that a feature is not fully implemented, or that it partially deviates from the given criteria.

Comparison table

Search and download

Name Written in File review Git clone Reliable parser Reliable solver Shell completion Specificity
auracle-gitAUR C++ Yes Yes Yes Yes bash print build order
pbgetAUR Python Yes Yes Yes
repoctlAUR Go Yes No Yes zsh local repository support
yaahAUR Bash Yes Optional Yes bash
aurelAUR
(discontinued)
Emacs Lisp Yes No Yes Emacs integration
cowerAUR
(discontinued)
C Yes No Yes bash, zsh regex support

Download and build

Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Clean build Shell completion Specificity
aurgetAUR Bash Optional No No No No No Yes bash, zsh
aurutilsAUR Bash/C Yes Yes Yes Yes Yes Yes Yes zsh vifm, local repository, package signing, clean chroot support
bauerbillAUR Python Yes No Yes Yes Yes Yes Yes bash, zsh trust management, bb-wrapper for pacman wrapping
PKGBUILDerAUR Python Optional No Yes Yes Yes Partial Yes automatic builds by default, use -F to disable; pb-wrapper for pacman wrapping
repofishAUR Bash Optional Yes Yes No No No Yes automatic builds by default, use check or update to disable; local repository support
ruaAUR Rust Yes No Yes Yes Yes Yes Yes bash, zsh, fish bubblewrap support
burgaurAUR
(discontinued)
Python/C Optional No No No No No Yes wrapper for cower
naamanAUR
(discontinued)
Python Optional No Yes Yes Partial Partial Yes bash automatic builds by default, use --fetch to disable; use -d for dependency resolution
spinachAUR
(discontinued)
Bash Yes No No No No No Yes

Pacman wrappers

Warning: pacman(8) wrappers abstract the work of the package manager. They may (optionally or by default) introduce unsafe flags, or other unexpected behavior leading to a defective system.
Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Clean build Unsafe flags Shell completion Specificity
auraAUR Haskell Optional Partial No Yes No No Yes bash, zsh automatic builds by default, use --dryrun to disable
packer-aur-gitAUR Bash No No No No No No Yes
pakkuAUR Nim Yes Yes Yes Yes Yes Yes Yes -Sy bash, zsh fetch PGP keys
pikaurAUR Python Yes Yes Yes Yes Yes Yes Yes -Sy bash, fish, zsh dynamic users, batch interaction
trizenAUR Perl Yes Yes Yes Yes Yes Partial Yes -Ud* bash, fish, zsh automatic builds by default, use -G to disable
wrapaurAUR Bash Yes No Yes No No No Yes
yayAUR Go Yes Yes Yes Yes Yes Yes Yes -Sy*
--ask*
bash, fish, zsh fetch PGP keys, batch interaction
aurmanAUR
(discontinued)
Python Yes Yes Yes Yes Yes Yes Yes -Sy*
--ask*
bash, fish fetch PGP keys, batch interaction
pacaurAUR
(discontinued)
Bash/C Yes Yes Yes Yes Yes Yes Yes -Ud
--ask
bash, zsh batch interaction
yaourtAUR
(discontinued)
Bash/C No Optional Optional No No No No -Sy bash, fish, zsh

Graphical

Warning: Usage of graphical AUR helpers may lead to a defective system, for example through unattended partial upgrades.
  • Argon — GTK+ 3 pacman wrapper written in Python.
https://github.com/14mRh4X0r/arch-argon || argonAUR
  • Cylon — TUI pacman wrapper written in Bash.
https://github.com/gavinlyonsrepo/cylon || cylonAUR
  • Pamac — Standalone GTK+ 3 package manager using libalpm(3) written in Vala.
https://gitlab.manjaro.org/applications/pamac || pamac-aurAUR
  • Pakku GUI — GTK+ 3 frontend for pakku written in Python.
https://gitlab.com/mrvik/pakku-gui || pakku-guiAUR
  • PkgBrowser — Qt 5 read-only browser for repository packages and AUR written in Python.
https://bitbucket.org/kachelaqa/pkgbrowser || pkgbrowserAUR
https://octopiproject.wordpress.com/ || octopiAUR

Maintenance

  • aur-out-of-date — Uses hoster APIs to check AUR packages for upstream changes.
https://github.com/simon04/aur-out-of-date || aur-out-of-dateAUR
  • aurpublish — Helper script to manage and upload AUR packages using git-subtree(1). Uses githooks(5) to verify the PKGBUILD integrity, generate .SRCINFO automatically, and create a commit message template.
https://github.com/eli-schwartz/aurpublish || aurpublish
  • pkgbuild-watch — Looks for changes on the upstream web pages.
http://kmkeen.com/pkgbuild-watch || pkgbuild-watchAUR
  • pkgbuildup — Helps AUR package maintainers automatically update PKGBUILD files. Supports a template variable syntax.
https://github.com/fasheng/pkgbuildup || pkgbuildup-gitAUR
  • pkgoutofdate — Parses the source URL from PKGBUILDs and tries to find new versions of packages by incrementing the version number and sending requests to the web server.
https://github.com/anatol/pkgoutofdate || pkgoutofdate-gitAUR

Other

https://github.com/zeyla/aur.rs ||
  • haskell-aur — Haskell library for accessing Aurweb RPC interface.
https://hackage.haskell.org/package/aur || haskell-aurAUR
  • python3-aur — Python 3 modules and helper utilities for accessing AUR package information and automating AUR interactions.
https://xyne.archlinux.ca/projects/python3-aur || python3-aurAUR
  • package-query — Tool for querying libalpm(3) and the AUR.
https://github.com/archlinuxfr/package-query || package-queryAUR