Difference between revisions of "AUR helpers"

From ArchWiki
Jump to: navigation, search
m (completion for pacaur in fish)
(Legend: batch interaction does not use asterisk (resp. does not distinguish between optional and default behavior))
 
(476 intermediate revisions by 38 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Package management]]
 
[[Category:Package management]]
 +
[[Category:Software comparisons]]
 
[[de:AUR Hilfsprogramme]]
 
[[de:AUR Hilfsprogramme]]
 +
[[es:AUR helpers]]
 
[[fr:Assistants AUR]]
 
[[fr:Assistants AUR]]
 
[[ja:AUR ヘルパー]]
 
[[ja:AUR ヘルパー]]
 
[[pt:AUR helpers]]
 
[[pt:AUR helpers]]
 
[[ru:AUR helpers]]
 
[[ru:AUR helpers]]
[[tr:AUR Yardımcı Uygulamaları]]
 
 
[[zh-hans:AUR helpers]]
 
[[zh-hans:AUR helpers]]
{{Warning|None of these tools are [https://bbs.archlinux.org/viewtopic.php?pid=828254#p828254 officially] supported by Arch Linux. It is recommended to become familiar with the [[Arch User Repository#Installing packages|manual build process]] in order to be prepared to troubleshoot problems on one's own.}}
+
{{Warning|1=AUR helpers are '''not supported''' by Arch Linux. You should become familiar with the [[Arch User Repository#Installing packages|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 are written to automate certain tasks for the [[Arch User Repository]].
+
AUR helpers automate certain usage of the [[Arch User Repository]]. Most AUR helpers can search for packages in the AUR and retrieve their [[PKGBUILD]]s – others additionally assist with the build and install process.
  
== Uploading ==
+
[[Pacman]] only handles updates for pre-built packages in its repositories. AUR packages are redistributed in form of [[PKGBUILD]]s 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.
  
* [https://github.com/JonnyJD/PKGBUILDs/blob/master/_bin/aur4_import.sh aur4_import.sh] — Splits a package from a git repository with multiple packages, adding/updating {{ic|.SRCINFO}} for every commit.
+
Since AUR helpers are unsupported, they are not present in the [[official repositories]].
* [https://github.com/JonnyJD/PKGBUILDs/blob/master/_bin/aur4_make_submodule.sh aur4_make_submodule.sh] — Replaces a package in a bigger git repository with an AUR 4 submodule, including {{ic|.SRCINFO}}.
 
* [https://github.com/Edenhofer/abs/blob/master/aurpublish aurpublish] — Manage AUR packages as [https://raw.githubusercontent.com/git/git/master/contrib/subtree/git-subtree.txt git subtrees]. The [https://github.com/Edenhofer/abs/blob/master/pre-commit.hook generation of {{ic|.SRCINFO}} files, {{ic|PKGBUILD}} checking] and the [https://github.com/Edenhofer/abs/blob/master/prepare-commit-msg.hook creation of a per package commit message template] is left to the git hooks in the same [https://github.com/Edenhofer/abs/blob/master/README.md repo].
 
  
== Build and search ==
+
== Legend ==
  
This is a list of helper utilities that search, download and/or build packages.
+
The [[#Comparison table]] columns have the following meaning:
  
* {{App|apacman|A fork of packer.|https://github.com/oshazard/apacman|{{AUR|apacman}}}}
+
;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'''.
 +
;Diff view: Ability to view package differences on inspection. Besides the PKGBUILD, this includes changes to files such as {{ic|.install}} or {{ic|.patch}} files.
 +
;Git clone: Uses {{man|1|git-clone}} by default to retrieve build files from the AUR.
 +
;Reliable parser: Ability to handle complex packages by using the provided metadata ([[Aurweb RPC interface|RPC]]/.SRCINFO) instead of PKGBUILD [[w:Parsing#Parser|parsing]], such as {{AUR|aws-cli-git}}.
 +
;Reliable solver: Ability to correctly solve and build complex dependency chains, such as {{AUR|ros-lunar-desktop}}.
 +
;Split packages: Ability to correctly build and install:
 +
:* Multiple packages from the same package base, without rebuilding or reinstalling multiple times, such as {{AUR|clion}}
 +
:* Split packages which depend on a package from the same package base, such as {{AUR|libc++}} and {{AUR|libc++abi}}.
 +
:* Split packages independently, such as {{AUR|python-pyalsaaudio}} and {{AUR|python2-pyalsaaudio}}.
 +
;Batch interaction: Ability to prompt before the build process and package transactions, in particular:
 +
:# Combined summary of repository and AUR package upgrades;
 +
:# Resolution of package conflicts and choice of providers.
 +
;Shell completion: [[w:Command-line_completion|Tab completion]] is available for the listed [[shell]]s.
  
* {{App|aura|2=A package manager for Arch Linux written in Haskell. ([https://bbs.archlinux.org/viewtopic.php?id=155778 Forum page])|3=https://github.com/aurapm/aura|4={{AUR|aura-bin}}}}
+
{{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.}}
 
 
* {{App|auracle|An AUR client written in C++.|https://github.com/falconindy/auracle|{{AUR|auracle-git}}}}
 
 
 
* {{App|aurel|2=Search, vote and download AUR packages from Emacs. ([https://bbs.archlinux.org/viewtopic.php?id=177142 Forum page])|3=https://github.com/alezost/aurel
 
|4={{AUR|aurel-git}}}}
 
 
 
* {{App|aurget|pacman-like interface to the AUR, without wrapping pacman commands.|https://github.com/pbrisbin/aurget/|{{AUR|aurget}}}}
 
 
 
* {{App|aurquery|Caching wrapper around the AUR's RPC interface using the python3-aur library.|http://xyne.archlinux.ca/projects/python3-aur|{{AUR|python3-aur}}}}
 
 
 
* {{App|aurutils|2=Helper tools for the AUR. ([https://bbs.archlinux.org/viewtopic.php?pid=1615428 Forum page])|3=https://github.com/AladW/aurutils|4={{AUR|aurutils}}}}
 
 
 
* {{App|bauerbill|2=Powerpill/pacman extension with support for building packages from ABS and AUR. ([https://bbs.archlinux.org/viewtopic.php?id=205834 Forum page])|3=http://xyne.archlinux.ca/projects/bauerbill|4={{AUR|bauerbill}}}}
 
 
* {{App|burgaur|A front-end for cower written in Python.|https://github.com/m45t3r/burgaur|{{AUR|burgaur}}}}
 
 
 
* {{App|cower|2=AUR search and download agent written in C, which also checks for updates and package dependencies. ([https://bbs.archlinux.org/viewtopic.php?id=97137 Forum page])|3=https://github.com/falconindy/cower|4={{AUR|cower}}}}
 
 
 
* {{App|pacaur|2=An AUR helper that minimizes user interaction. ([https://bbs.archlinux.org/viewtopic.php?pid=937423 Forum page])|3=https://github.com/rmarquis/pacaur|4={{AUR|pacaur}}}}
 
 
 
* {{App|pacget|2=A wrapper around pacaur to mimic yaourt's search feature.|3=https://github.com/neurobin/pacget|4={{AUR|pacget}}}}
 
 
 
* {{App|packer|2=Wrapper for pacman and the AUR. ([https://bbs.archlinux.org/viewtopic.php?id=88115 Forum page])|3=https://github.com/keenerd/packer|4={{AUR|packer}}}}
 
 
 
* {{App|pamac|A DBus daemon and Gtk3 frontend for libalpm written in Vala.|https://github.com/manjaro/pamac/|{{AUR|pamac-aur}}}}
 
 
 
* {{App|pbget|Retrieve source files from the Arch SVN and CVS web interface, the AUR, and the ABS rsync server.|http://xyne.archlinux.ca/projects/pbget|{{AUR|pbget}}}}
 
 
 
* {{App|PKGBUILDer|An AUR helper with dependency support written in Python 3.|https://github.com/Kwpolska/pkgbuilder|{{AUR|pkgbuilder}}}}
 
 
 
* {{App|prm|An AUR and ABS helper.|https://git.fleshless.org/prm/|[https://pkg.fleshless.org/prm/plain/PKGBUILD PKGBUILD]}}
 
 
 
* {{App|repoctl|Tool to help manage local repositories (AUR support).|https://github.com/cassava/repoctl|{{AUR|repoctl}}}}
 
 
 
* {{App|spinach|An AUR helper written in Bash|http://www.floft.net/code/spinach/|{{AUR|spinach}}}}
 
 
 
* {{App|trizen|A  wrapper for the AUR written in Perl.|https://github.com/trizen/trizen|{{AUR|trizen}}}}
 
 
 
* {{App|wrapaur|A pacman and AUR wrapper written in bash.||{{AUR|wrapaur}}}}
 
 
 
* {{App|yaah|Yet another AUR helper|https://bitbucket.org/the_metalgamer/yaah|{{AUR|yaah}}}}
 
 
 
* {{App|yaourt|A  wrapper for the AUR and regular packages.|https://archlinux.fr/yaourt-en|{{AUR|yaourt}}}}
 
 
 
* {{App|yay|AUR helper written in Go.|https://github.com/Jguer/yay|{{AUR|yay}}}} or {{AUR|yay-bin}} (binary)
 
 
 
== Maintenance ==
 
 
 
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
 
 
 
* {{App|pkgbuildup|Helps AUR package maintainers automatically update PKGBUILD files. Supports a template variable syntax.|https://github.com/fasheng/pkgbuildup|{{AUR|pkgbuildup-git}}}}
 
 
 
* {{App|1=pkgcheck|2=Uses rules in PKGBUILDs to parse upstream version information or looks for changes by checksumming the web page|3=https://bbs.archlinux.org/viewtopic.php?id=162816|4=Repository: [https://github.com/onny/pkgcheck GitHub]}}
 
 
 
* {{App|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|{{AUR|pkgoutofdate-git}}}}
 
 
 
== Libraries ==
 
 
 
* {{App|haskell-archlinux|Library to access the AUR and package metadata from the Haskell programming language|http://hackage.haskell.org/package/archlinux|{{AUR|haskell-archlinux}}}}
 
 
 
* {{App|python3-aur|Python 3 modules for accessing AUR package information and automating AUR interactions.|http://xyne.archlinux.ca/projects/python3-aur|{{AUR|python3-aur}}}}
 
 
 
== Graphical ==
 
 
 
* {{App|1=Aarchup|2=Fork of archup. Has the same options as archup plus a few other features. For differences between both please check [https://bbs.archlinux.org/viewtopic.php?id=119129 changelog].|3=https://github.com/aericson/aarchup/|4={{AUR|aarchup}}}}
 
* {{App|1=Argon|2=Graphical frontend to pacaur, featuring package installation, removal, and updating; and update notifications for both official repository and AUR packages.|3=https://github.com/14mRh4X0r/arch-argon|4={{AUR|argon}}}}
 
* {{App|1=PkgBrowser|2=Application for searching and browsing Arch packages, showing details on selected packages.|3=https://bitbucket.org/kachelaqa/pkgbrowser/wiki/Home|4={{AUR|pkgbrowser}}}}
 
  
 
== Comparison table ==
 
== Comparison table ==
  
The columns have the following meaning:
+
=== Search and download ===
 
 
* ''Secure'': 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.
 
* ''Clean build'': does not export new variables that can prevent a successful build process.
 
* ''Reliable parser'': ability to handle complex packages by using the provided metadata (RPC/.SRCINFO) instead of PKGBUILD [[w:Parsing#Parser|parsing]], such as {{AUR|aws-cli-git}}.
 
* ''Reliable solver'': ability to correctly solve and build complex dependency chains, such as {{AUR|plasma-git-meta}}.
 
* ''Split packages'': ability to correctly build and install split packages independently.
 
* ''Git clone'': uses git clones instead of downloading tarballs (deprecated since AUR 4).
 
* ''Syntax'': P stands for [[Pacman]]-like, S for specific.
 
  
{| class="wikitable sortable"
+
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written In !! Secure !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Shell completion !! Syntax !! Specificity
+
! Name !! Written in !! Git clone !! Reliable parser !! Reliable solver !! Shell completion !! Specificity
 
|-
 
|-
! apacman
+
! {{AUR|auracle-git}}
| Bash || {{No}} [https://github.com/oshazard/apacman/issues/8] || {{No}} [https://github.com/oshazard/apacman/search?utf8=%E2%9C%93&q=export] || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || style="text-align:center;" |P || Fork of ''packer''
+
| C++ || {{Yes|https://github.com/falconindy/auracle/commit/c73bbee}} || {{Yes}} || {{Yes}} || bash || {{L|print build order}}
 
|-
 
|-
! aura
+
! {{AUR|pbget}}
| Haskell || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} [https://github.com/aurapm/aura/issues/353] || {{No}} || style="text-align:center;" | bash/zsh || style="text-align:center;" |P || Downgrade, [[ABS]], [[powerpill]] support, multilingual, requires [[ArchHaskell]]
+
| Python || {{Yes}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! auracle
+
! {{AUR|repoctl}}
| C++ || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Yes}} || {{Grey|N/A}} || {{No}} || style="text-align:center;" | N/A || style="text-align:center;" | S || No automatic builds
+
| Go || {{No}} || {{Yes|https://github.com/goulash/pacman/blob/master/aur/aur.go}} || {{-}} || zsh || {{L|[[local repository]]}}
 
|-
 
|-
! aurel
+
! {{AUR|yaah}}
| Emacs Lisp || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{No}} || style="text-align:center;" | N/A || style="text-align:center;" | S || Emacs integration, no automatic builds
+
| Bash || {{Y|Optional}} || {{Yes}} || {{-}} || bash || {{-}}
 
|-
 
|-
! aurget
+
! {{Grey|1={{AUR|aurel}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459 discontinued])</small>}}
| Bash || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} [https://github.com/pbrisbin/aurget/issues/40] || {{No}} || style="text-align:center;" | bash/zsh || style="text-align:center;" | P || sort by votes
+
| Emacs Lisp || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|[[emacs]] integration}}
 
|-
 
|-
! aurutils
+
! {{Grey|{{AUR|cower}} <br> <small>([https://github.com/falconindy/cower#description discontinued])</small>}}
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || style="text-align:center;" | zsh || style="text-align:center;" | S || [[vifm]], [[w:PCRE|PCRE]], [[local repository]], [[package signing]], [[systemd-nspawn]] support
+
| C  || {{No}} || {{Yes}} || {{-}} || bash, zsh || {{L|regex support}}
 +
|}
 +
 
 +
=== Download and build ===
 +
 
 +
{| class="wikitable sortable" style="text-align: center;"
 +
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Shell completion !! Specificity
 
|-
 
|-
! bauerbill
+
! {{AUR|aurget}}
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || style="text-align:center;" | bash/zsh || style="text-align:center;" | P/S || Trust management, ABS support, extends Powerpill
+
| Bash || {{No}} || {{No|https://github.com/pbrisbin/aurget/issues/41}} || {{No}} || {{No}} || {{No}} || {{No|https://github.com/pbrisbin/aurget/issues/40}} || bash, zsh || {{-}}
 
|-
 
|-
! burgaur
+
! {{AUR|aurutils}}
| Python/C || {{Y|Optional}}, with [[mc]] || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || style="text-align:center;" | P || Wrapper for ''cower''
+
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || zsh || {{L|[[w:Modular programming|modular]], [[local repository]], [[package signing]], [[DeveloperWiki:Building in a clean chroot|clean chroot]]}}
 
|-
 
|-
! pacaur
+
! {{AUR|bauerbill}}
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || style="text-align:center;" | bash/zsh/fish || style="text-align:center;" | P/S || Minimizes user interaction, multilingual, sort by votes/popularity
+
| Python || {{Yes}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh || {{L|{{ic|bb-wrapper}} for ''pacman'' wrapping, trust management}}
 
|-
 
|-
! packer
+
! {{AUR|PKGBUILDer}}
| Bash || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || style="text-align:center;" | P || -
+
| Python || {{No}} || {{No|https://github.com/Kwpolska/pkgbuilder/issues/36}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Kwpolska/pkgbuilder/issues/39 Partial]}} || {{-}} || {{L|{{ic|pb-wrapper}} for ''pacman'' wrapping}}
 
|-
 
|-
! pbget
+
! {{AUR|repofish}}
| Python || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Yes}} || style="text-align:center;" | None || style="text-align:center;" | S || No automatic builds
+
| Bash || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{-}} || {{L|[[local repository]]}}
 
|-
 
|-
! PKGBUILDer
+
! {{AUR|rua}}
| Python || {{Y|Optional}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|Partial}} [https://github.com/Kwpolska/pkgbuilder/issues/39] || {{Yes}} || style="text-align:center;" | None || style="text-align:center;" | P || Automatic builds by default, use {{ic|-F}} to disable; multilingual
+
| Rust || {{Yes}} || {{No|https://github.com/vn971/rua/issues/1}} || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/fc8c2f3}} || {{Yes}} || {{Yes}} || bash, zsh, fish || {{L|[[bubblewrap]], {{ic|.pkg.tar}} inspection}}
 
|-
 
|-
! prm
+
! {{Grey|{{AUR|burgaur}} <br> <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
| Bash || {{Yes}} [https://git.fleshless.org/prm/commit/?id=e7252333b07975ea40f526269ce995e375e627bf] || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Yes}} || style="text-align:center;" | None || style="text-align:center;" | S || No automatic builds, ABS support
+
| Python/C || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{L|wrapper for ''cower''}}
 
|-
 
|-
! repoctl
+
! {{Grey|{{AUR|naaman}} <br> <small>([https://github.com/enckse/naaman/issues/20#issuecomment-433781874 discontinued])</small>}}
| Go || {{Yes}} || {{Grey|N/A}} || {{Yes}} [https://github.com/goulash/pacman/blob/master/aur/aur.go] || {{Grey|N/A}} || {{Grey|N/A}} || {{No}} || style="text-align:center;" | zsh || style="text-align:center;" | S || No automatic builds, local repository support
+
| Python || {{No}} || {{No}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/enckse/naaman/issues/19 Partial]}} || {{Y|[https://github.com/enckse/naaman/issues/20 Partial]}} || bash || {{-}}
 
|-
 
|-
! spinach
+
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach discontinued])</small>}}
| Bash || {{Yes}} [https://github.com/floft/spinach/commit/545574700812eb369b9537370f085ec9e5c3f01a] || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || style="text-align:center;" | S || -
+
| Bash || {{Yes|https://github.com/floft/spinach/commit/5455747}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}}
 +
|}
 +
 
 +
=== Pacman wrappers ===
 +
 
 +
{{Warning|{{man|8|pacman}} wrappers abstract the work of the package manager. They may (optionally or by default) introduce [[System_maintenance#Avoid_certain_pacman_commands|unsafe flags]], or other unexpected behavior leading to a defective system.}}
 +
 
 +
{| class="wikitable sortable" style="text-align: center;"
 +
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Unsafe flags !! Shell completion !! Specificity
 +
|-
 +
! {{AUR|aura}}
 +
| Haskell || {{No}} || {{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}} || {{-}} || bash, zsh || {{-}}
 +
|-
 +
! {{AUR|packer-aur-git}}
 +
| Bash || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! trizen
+
! {{AUR|pakku}}
| Perl || {{Yes}} || {{Yes}} || {{Yes}} [https://github.com/trizen/trizen/commit/7ab7ee5f9f1f5d971b731d092fc8e1dd963add4b] || {{Yes}} || {{Yes}} [https://github.com/trizen/trizen/commit/3c94434c66ede793758f2bf7de84d68e3174e2ac] || {{Yes}} [https://github.com/trizen/trizen/commit/6fb0cc9e0ab66b8cca9493b0618ba4bab5fd2252] || style="text-align:center;" | None || style="text-align:center;" | P || AUR comments
+
| Nim || {{Yes}} || {{Yes|https://github.com/kitsunyan/pakku/commit/396e9f4}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation -Sy] || bash, zsh || {{L|fetch PGP keys}}
 
|-
 
|-
! wrapaur
+
! {{AUR|pikaur}}
| Bash || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || style="text-align:center;" | None || style="text-align:center;" | S || Mirror updates, print news and AUR comments
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/actionless/pikaur/commit/d409b95}} || [https://github.com/actionless/pikaur#pikaur -Sy] || bash, fish, zsh || {{L|[http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], batch interaction (1,2)}}
 
|-
 
|-
! yaah
+
! {{AUR|trizen}}
| Bash || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Y|Optional}} || style="text-align:center;" | bash || style="text-align:center;" | S || No automatic builds
+
| 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]}} || {{Y|[https://github.com/trizen/trizen/commit/9e7b40e -Ud*] || bash, fish, zsh || {{L|-}}
 
|-
 
|-
! yaourt
+
! {{AUR|wrapaur}}
| Bash/C || {{No}} (''yaourt -Si'') [https://github.com/archlinuxfr/yaourt/blob/f373121d23d87031a24135fee593115832d803ec/src/lib/aur.sh#L47] [https://github.com/archlinuxfr/yaourt/blob/d9790e29cd7194535c793f51d185b7130a396916/src/lib/pkgbuild.sh.in#L415-L438] || {{No}} [https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html] || {{No}} || {{No}} [https://github.com/archlinuxfr/yaourt/issues/186] || {{No}} [https://github.com/archlinuxfr/yaourt/issues/85] || {{Y|Optional}} || style="text-align:center;" | bash/zsh/fish || style="text-align:center;" | P || Backup, ABS support, AUR comments, multilingual
+
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! yay
+
! {{AUR|yay}}
| Go || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || {{Y|Partial}} || {{No}} || style="text-align:center;" | bash/zsh/fish || style="text-align:center;" | P || sort by votes
+
| Go || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/447}} || {{Yes|https://github.com/Jguer/yay/pull/297}} || {{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 (1,2)}}
 
|-
 
|-
 +
! {{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}} || [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 (1,2)}}
 +
|-
 +
! {{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}} || [https://github.com/rmarquis/pacaur/commit/d8f4918 -Ud]<br>[https://github.com/rmarquis/pacaur/commit/12707cc --ask] || bash, zsh || {{L|batch interaction (2)}}
 +
|-
 +
! {{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}} || [https://github.com/archlinuxfr/yaourt/blob/d30823e/yaourt/yaourt#L1773 -Sy] || bash, fish, zsh || {{L|batch interaction (1), [https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html corrupts build process]}}
 
|}
 
|}
  
{{Note|1=[[Pacman]] 4.2. introduced architecture specific fields. [http://allanmcrae.com/2014/12/pacman-4-2-released/] However, as of 06 April 2016, [[AurJson]] combines all entries in a single field: {{Bug|48796}}. Helpers relying on the RPC may use the below workarounds to retrieve dependencies:
+
== Graphical ==
* {{AUR|bauerbill}} [https://bbs.archlinux.org/viewtopic.php?pid=1617235#p1617235], {{AUR|pkgbuilder}} [https://github.com/Kwpolska/pkgbuilder/blob/65d9d74ef05f8996b81afb1cd005e3c337afa8b2/pkgbuilder/build.py#L198]: Retrieve specific fields from [[.SRCINFO]]
+
 
* {{AUR|aurutils}} [https://github.com/AladW/aurutils/issues/80], {{AUR|pacaur}} [https://github.com/rmarquis/pacaur/issues/465], {{AUR|trizen}} [https://github.com/trizen/trizen/commit/6a8ff9dc8cc83af783b8475dfbe89988dbc8a553]: Strip the {{ic|lib32-}} prefix on {{ic|i686}} systems
+
{{Warning|Usage of graphical AUR helpers may lead to a defective system, for example through unattended [[partial upgrades]].}}
}}
+
* {{App|Argon|GTK+ 3 pacman wrapper written in Python.|https://github.com/14mRh4X0r/arch-argon|{{AUR|argon}}}}
 +
* {{App|Cylon|TUI pacman wrapper written in Bash.|https://github.com/gavinlyonsrepo/cylon|{{AUR|cylon}}}}
 +
* {{App|Pamac|Standalone GTK+ 3 package manager using {{man|3|libalpm}} written in Vala.|https://gitlab.manjaro.org/applications/pamac|{{AUR|pamac-aur}}}}
 +
* {{App|Pakku GUI|GTK+ 3 frontend for pakku written in Python.|https://gitlab.com/mrvik/pakku-gui|{{AUR|pakku-gui}}}}
 +
* {{App|PkgBrowser|Qt 5 read-only browser for repository packages and AUR written in Python.|https://bitbucket.org/kachelaqa/pkgbrowser|{{AUR|pkgbrowser}}}}
 +
* {{App|Octopi|Qt 5 pacman wrapper written in C++. May lead to defective system as [https://github.com/aarnt/octopi/blob/271c7e1/octopi.install enabled on install] notifier service [https://github.com/aarnt/octopi/issues/134#issuecomment-142099266 regularly performs] [[partial upgrades]].|https://octopiproject.wordpress.com/|{{AUR|octopi}}}}
 +
 
 +
== Maintenance ==
 +
 
 +
* {{App|aur-out-of-date|Uses hoster APIs to check AUR packages for upstream changes.|https://github.com/simon04/aur-out-of-date|{{AUR|aur-out-of-date}}}}
 +
* {{App|aurpublish|Helper script to manage and upload AUR packages using {{man|1|git-subtree}}. Uses {{man|5|githooks}} to verify the PKGBUILD integrity, generate .SRCINFO automatically, and create a commit message template.|https://github.com/eli-schwartz/aurpublish|{{Pkg|aurpublish}}}}
 +
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
 +
* {{App|pkgbuildup|Helps AUR package maintainers automatically update PKGBUILD files. Supports a template variable syntax.|https://github.com/fasheng/pkgbuildup|{{AUR|pkgbuildup-git}}}}
 +
* {{App|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|{{AUR|pkgoutofdate-git}}}}
 +
 
 +
== Other ==
 +
 
 +
* {{App|aur.rs|Rust library for accessing [[Aurweb RPC interface]]|https://github.com/zeyla/aur.rs||}}
 +
* {{App|haskell-aur|Haskell library for accessing Aurweb RPC interface.|https://hackage.haskell.org/package/aur|{{AUR|haskell-aur}}}}
 +
* {{App|python3-aur|Python 3 modules and helper utilities for accessing AUR package information and automating AUR interactions.|https://xyne.archlinux.ca/projects/python3-aur|{{AUR|python3-aur}}}}
 +
* {{App|package-query|Tool for querying {{man|3|libalpm}} and the AUR.|https://github.com/archlinuxfr/package-query|{{AUR|package-query}}}}

Latest revision as of 14:36, 9 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.
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.
Batch interaction
Ability to prompt before the build process and package transactions, in particular:
  1. Combined summary of repository and AUR package upgrades;
  2. Resolution of package conflicts and choice of providers.
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 Git clone Reliable parser Reliable solver Shell completion Specificity
auracle-gitAUR C++ Yes Yes Yes bash print build order
pbgetAUR Python Yes Yes
repoctlAUR Go No Yes zsh local repository
yaahAUR Bash Optional Yes bash
aurelAUR
(discontinued)
Emacs Lisp No Yes emacs integration
cowerAUR
(discontinued)
C No Yes bash, zsh regex support

Download and build

Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Shell completion Specificity
aurgetAUR Bash No No No No No No bash, zsh
aurutilsAUR Bash/C Yes Yes Yes Yes Yes Yes zsh modular, local repository, package signing, clean chroot
bauerbillAUR Python Yes No Yes Yes Yes Yes bash, zsh bb-wrapper for pacman wrapping, trust management
PKGBUILDerAUR Python No No Yes Yes Yes Partial pb-wrapper for pacman wrapping
repofishAUR Bash No Yes Yes No No No local repository
ruaAUR Rust Yes No Yes Yes Yes Yes bash, zsh, fish bubblewrap, .pkg.tar inspection
burgaurAUR
(discontinued)
Python/C No No No No No No wrapper for cower
naamanAUR
(discontinued)
Python No No Yes Yes Partial Partial bash
spinachAUR
(discontinued)
Bash Yes No No No No No

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 Unsafe flags Shell completion Specificity
auraAUR Haskell No Partial No Yes No No bash, zsh
packer-aur-gitAUR Bash No No No No No No
pakkuAUR Nim Yes Yes Yes Yes Yes Yes -Sy bash, zsh fetch PGP keys
pikaurAUR Python Yes Yes Yes Yes Yes Yes -Sy bash, fish, zsh dynamic users, batch interaction (1,2)
trizenAUR Perl Yes Yes Yes Yes Yes Partial -Ud* bash, fish, zsh -
wrapaurAUR Bash Yes No Yes No No No
yayAUR Go Yes Yes Yes Yes Yes Yes -Sy*
--ask*
bash, fish, zsh fetch PGP keys, batch interaction (1,2)
aurmanAUR
(discontinued)
Python Yes Yes Yes Yes Yes Yes -Sy*
--ask*
bash, fish fetch PGP keys, batch interaction (1,2)
pacaurAUR
(discontinued)
Bash/C Yes Yes Yes Yes Yes Yes -Ud
--ask
bash, zsh batch interaction (2)
yaourtAUR
(discontinued)
Bash/C No Optional Optional No No No -Sy bash, fish, zsh batch interaction (1), corrupts build process

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