Difference between revisions of "AUR helpers"

From ArchWiki
Jump to navigation Jump to search
(→‎Active: pikaur: "skip errors" -> "ignore errors", see talk)
(→‎Search and build: aurget discontinued)
 
(183 intermediate revisions by 14 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]]
 
[[es:AUR helpers]]
Line 7: Line 9:
 
[[ru:AUR helpers]]
 
[[ru:AUR helpers]]
 
[[zh-hans:AUR helpers]]
 
[[zh-hans:AUR helpers]]
{{Warning|1=AUR helpers are '''not''' [https://bbs.archlinux.org/viewtopic.php?pid=828310#p828310 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.}}
+
{{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 automate certain tasks for using the [[Arch User Repository]]. Most helpers automate the process of retrieving a package's [[PKGBUILD]] from the AUR and building the package. In most cases packages installed from the AUR are not checked for updates by [[pacman]]; thus some helpers check the AUR for updates and automate the re-build process. However, keep in mind that a rebuild of an AUR package, or any other packages built and installed locally, may be required when shared libraries are updated, not just when the package is updated.
+
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.
  
Since AUR helpers are unsupported, they are not present in the [[official repositories]].
+
[[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.
  
== Build and search ==
+
== Legend ==
  
{{Note|Do not edit this section prior to discussion in [[Talk:AUR helpers]].}}
+
The [[#Comparison tables]] columns have the following meaning:
  
The 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 {{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.
  
* ''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.
+
{{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.}}
* ''Clean build'': does not export new variables that can prevent a successful build process.
 
* ''Pacman wrapper'': when used as replacement for {{man|8|pacman}} commands such as {{ic|pacman -Syu}}, the following are obeyed ''by default'': [https://wiki.archlinux.org/index.php?title=Talk:AUR_helpers&oldid=515160#Add_.22pacman_wrap.22_column]
 
:– do not separate commands, for example {{ic|pacman -Syu}} is not split to {{ic|pacman -Sy}} and {{ic|pacman -S ''packages''}};
 
:– use ''pacman'' directly instead of manual database manipulation or usage of {{man|3|libalpm}}.
 
:In addition, potentially [[System_maintenance#Avoid_certain_pacman_commands|harmful commands]] such as {{ic|pacman -Ud}}, {{ic|pacman -Rdd}}, {{ic|pacman --ask}} or {{ic|pacman --force}} are '''not''' used.
 
:{{Warning|Notwithstanding these criteria, AUR helpers may deviate from {{man|8|pacman}} in various ways, in particular for installation of packages in the [[official repositories]]. Such usage is therefore '''not''' supported or recommended.}}
 
* ''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|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}}.
 
* ''Git clone'': uses {{man|1|git-clone}} by default to retrieve build files from the AUR.
 
* ''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.
 
* ''Batch interaction'': ability to prompt in direct succession, in particular for:
 
# Inspection of PKGBUILDs;
 
# Summarizing package upgrades;
 
# Resolution of package conflicts and installations.
 
:An asterisk denotes functionality specifically enabled by the user.
 
* ''Shell completion'': [[w:Command-line_completion|tab completion]] is available for the listed [[shell]]s.
 
  
{{Note|<nowiki></nowiki>
+
== Comparison tables ==
* Table rows are sorted by column values, where ''Yes'' or ''N/A'' take precedence over ''Partial'' or ''Optional'' and ''No'', or alphabetically if values are equal.
 
* ''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.}}
 
  
=== Active ===
+
=== Search and download ===
  
{| class="wikitable sortable" width="100%" style="text-align: center;"
+
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written in !! Pacman wrapper !! File review !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specificity
+
! Name !! Written in !! Git clone !! Reliable parser !! Reliable solver !! Shell completion !! Specificity
 
|-
 
|-
! {{AUR|aurman}}
+
! {{AUR|auracle-git}}
| Python || Yes || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving Yes]}} || {{Yes}} || {{Yes}} || {{Yes}} || 1, [https://github.com/polygamma/aurman#question-6 2*, 3*] || bash, fish || {{L|fetch PGP keys, sort by votes/popularity, print news}}
+
| C++ || {{Yes|https://github.com/falconindy/auracle/commit/c73bbee}} || {{Yes}} || {{Yes}} || bash || {{L|print build order}}
 
|-
 
|-
! {{AUR|aurutils}}
+
! {{AUR|pbget}}
| Bash/C || {{-}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || 1 || zsh || {{L|[[vifm]], [[local repository]], [[package signing]], [[DeveloperWiki:Building_in_a_Clean_Chroot|clean chroot]] support, sort by votes/popularity}}
+
| Python || {{Yes}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! {{AUR|yay}}
+
! {{AUR|repoctl}}
| Go || Yes || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/Jguer/yay/pull/297 Yes]}} || {{G|[https://github.com/Jguer/yay/pull/447 Yes]}} || 1, [https://github.com/Jguer/yay/commit/3bdb5343218d99d40f8a449b887348611f6bdbfc 2*], [https://github.com/Jguer/yay/commit/ea5a94e0f8bb5f76879099e6d319c0c0102231c2 3*] || bash, fish, zsh || {{L|sort by votes, fetch PGP keys, [https://github.com/Jguer/yay/commit/4bcd3a6297052714e91e3f886602ce5c12d15786 prompt architecture]}}
+
| Go ||  {{No}} || {{Yes|https://github.com/goulash/pacman/blob/master/aur/aur.go}} || {{-}} || zsh || {{L|[[local repository]]}}
|-
 
! {{AUR|pakku}}
 
| Nim || {{Y|[https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation splits] {{ic|-Syu}}}} || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/864cc0373fd6095295f68cc44d1657bd17269732 Yes]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/396e9f44c4f5a79c7b9238835599387f6ff418fe Yes]}} || 1 || bash, zsh || {{L|[[ABS]] support, AUR comments, fetch PGP keys}}
 
|-
 
! {{AUR|pikaur}}
 
| Python || {{Y|[https://github.com/actionless/pikaur#pikaur splits] {{ic|-Syu}}}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/actionless/pikaur/commit/d409b958b4ff403d4fda06681231061854d32b3c Yes]}} || {{Yes}} || {{Yes}} || 1, 2, 3 || bash, fish, zsh || {{L|[http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], [https://github.com/actionless/pikaur/tree/master/locale multilingual], sort by votes/popularity, print news, [https://github.com/actionless/pikaur/commit/3688d828591d307c6864c3b5ad8c1f581396b865 ignore errors]}}
 
|-
 
! {{AUR|trizen}}
 
| Perl || [https://github.com/trizen/trizen/commit/9e7b40e110175ea5bc7a0fa002ffadbf1106704b Yes] || {{Yes}} || {{Yes}} || {{G|[https://github.com/trizen/trizen/commit/7ab7ee5f9f1f5d971b731d092fc8e1dd963add4b Yes]}} || {{Yes}} || {{Y|[https://github.com/trizen/trizen/issues/46 Partial]}} || {{G|[https://github.com/trizen/trizen/commit/6fb0cc9e0ab66b8cca9493b0618ba4bab5fd2252 Yes]}} || {{Yes}} || 1* || bash, zsh, fish || {{L|Automatic builds by default, use {{ic|-G}} to disable, AUR comments}}
 
|-
 
! {{AUR|bauerbill}}
 
| Python || Yes || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || 1 || bash, zsh || {{L|Trust management, [[ABS]] support, extends Powerpill}}
 
|-
 
! {{AUR|PKGBUILDer}}
 
| Python || [https://github.com/Kwpolska/pkgbuilder/blob/master/docs/wrapper.rst Yes] || {{Y|Optional}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Kwpolska/pkgbuilder/issues/39 Partial]}} || {{Yes}} || {{R|[https://github.com/Kwpolska/pkgbuilder/issues/36 No]}} || 1* || {{-}} || {{L|Automatic builds by default, use {{ic|-F}} to disable; multilingual}}
 
|-
 
! {{AUR|naaman}}
 
| Python || {{-}} || {{Y|Optional}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/enckse/naaman/issues/19 Partial]}} || {{Y|[https://github.com/enckse/naaman/issues/20 Partial]}} || {{Yes}} || {{No}} || 1* || bash || {{L|Automatic builds by default, use {{ic|--fetch}} to disable, use {{ic|-d}} to enable the solver}}
 
|-
 
! {{AUR|aura}}
 
| Haskell || [https://github.com/aurapm/aura/blob/master/aura/lib/Aura/Pacman.hs Yes] || {{Y|Optional}} || {{Yes}} || {{G|[https://github.com/aurapm/aura/commit/7848e9830cd880215f1d12a1c0294992428ea778 Yes]}} || {{No}} || {{R|[https://github.com/aurapm/aura/issues/353 No]}} || {{R|[https://github.com/aurapm/aura/pull/346 No]}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702bd0539fa757265c4c54ea2192155f85ed/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || 1* || bash, zsh || {{L|Automatic builds by default, use {{ic|--dryrun}} to disable, [[downgrade]] support, multilingual}}
 
|-
 
! {{AUR|repofish}}
 
| Bash || {{-}} || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} || 1* || {{-}} || {{L|Automatic builds by default, use {{ic|check}} or {{ic|update}} to disable, [[local repository]] support}}
 
|-
 
! {{AUR|aurget}}
 
| Bash || {{-}} || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{R|[https://github.com/pbrisbin/aurget/issues/40 No]}} || {{No}} || {{R|[https://github.com/pbrisbin/aurget/issues/41 No]}} || {{-}} || bash, zsh || {{L|sort by votes}}
 
|-
 
|}
 
 
 
=== Search-only ===
 
 
 
{| class="wikitable sortable" width="100%" style="text-align: center;"
 
! Name !! Written in !! File review !! Reliable parser !! Reliable solver !! Git clone !! Shell completion !! Specificity
 
|-
 
! {{AUR|pbget}}
 
| Python || {{Yes}} || {{Yes}} || {{-}} || {{Yes}} || {{-}} || {{-}}
 
 
|-
 
|-
 
! {{AUR|yaah}}
 
! {{AUR|yaah}}
| Bash || {{Yes}} || {{Yes}} || {{-}} || {{Y|Optional}} || bash || {{-}}
+
| Bash || {{Y|Optional}} || {{Yes}} || {{-}} || bash || {{-}}
|-
 
! {{AUR|auracle-git}}
 
| C++ || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || {{-}} || {{L|print build order}}
 
|-
 
! {{AUR|cower}}
 
| C  || {{Yes}} || {{Yes}} || {{-}} || {{No}} || bash, zsh || {{L|regex support, sort by votes/popularity}}
 
|-
 
! {{AUR|package-query}}
 
| C || {{Yes}} || {{No}} [https://github.com/archlinuxfr/package-query/issues/135] || {{-}} || {{-}} || {{-}} || {{-}}
 
|-
 
! {{AUR|repoctl}}
 
| Go || {{Yes}} || {{Yes}} [https://github.com/goulash/pacman/blob/master/aur/aur.go] || {{-}} || {{No}} || zsh || {{L|local repository support}}
 
 
|-
 
|-
 +
! {{Grey|1={{AUR|aurel}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459 discontinued])</small>}}
 +
| Emacs Lisp || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|[[emacs]] integration}}
 
|}
 
|}
  
=== Discontinued or problematic ===
+
=== Search and build ===
  
This table describes projects which either are discontinued by their authors, or have issues on ''Security'', ''Clean build'' or ''Native pacman'' (see [[#Build and search]]) unaddressed in the last 6 months.
+
{| 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
{| class="wikitable sortable" width="100%" style="text-align: center;"
 
! Name !! Written in !! Pacman wrapper !! File review !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specificity
 
 
|-
 
|-
! {{AUR|aurel}} [https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459]
+
! {{AUR|aurutils}}
| Emacs Lisp || {{-}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{-}} || {{No}} || {{-}} || {{-}} || {{-}} || {{L|Emacs integration, no automatic builds}}
+
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh || {{L|[[w:Modular programming|modular]], [[local repository]], [[package signing]], [[DeveloperWiki:Building in a clean chroot|clean chroot]]}}
 
|-
 
|-
! {{AUR|pacaur}} [https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144]
+
! {{AUR|bauerbill}}
| Bash/C || {{R|[https://github.com/rmarquis/pacaur/commit/d8f49188452785fb28afc017baadd01d9e24ba21 uses] {{ic|-Ud}}}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || 1, 3 || bash, zsh || {{L|multilingual, sort by votes/popularity}}
+
| Python || {{Yes}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || bash, zsh || {{L|{{ic|bb-wrapper}} for ''pacman'' wrapping, trust management}}
 
|-
 
|-
! {{AUR|wrapaur}}
+
! {{AUR|PKGBUILDer}}
| Bash || Yes || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{No}} || {{-}} || {{-}} || {{L|Mirror updates, print news and AUR comments}}
+
| 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}} for ''pacman'' wrapping}}
 
|-
 
|-
! {{AUR|spinach}} [https://github.com/floft/spinach]
+
! {{AUR|repofish}}
| Bash || {{-}} || {{G|[https://github.com/floft/spinach/commit/545574700812eb369b9537370f085ec9e5c3f01a Yes]}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
+
| Bash || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{-}} || {{L|[[local repository]]}}
 
|-
 
|-
! {{AUR|burgaur}} [https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675]
+
! {{AUR|rua}}
| Python/C || {{-}} || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{L|Wrapper for ''cower''}}
+
| Rust || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/0459a8b}} || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/fc8c2f3}} || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/7889045}} || bash, zsh, fish || {{L|[[bubblewrap]], {{ic|.pkg.tar}} inspection}}
 
|-
 
|-
! {{AUR|packer}}
+
! {{Grey|{{AUR|aurget}} <br> <small>([https://github.com/pbrisbin/aurget/issues/66#issue-485245712 discontinued])</small>}}
| Bash || Yes || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
+
| Bash || {{No}} || {{No|https://github.com/pbrisbin/aurget/issues/41}} || {{No}} || {{No}} || {{No}} || {{No|https://github.com/pbrisbin/aurget/issues/40}} || bash, zsh || {{-}}
 
|-
 
|-
! {{AUR|yaourt}}
+
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach discontinued])</small>}}
| Bash/C || {{Y|splits {{ic|-Syu}}}} || {{No}} [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] || {{R|[https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html No]}} || {{No}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/186 No]}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/85 No]}} || {{Y|Optional}} || {{Y|Optional}} || 2 || bash, zsh, fish || {{L|Backup ([https://github.com/archlinuxfr/yaourt/blob/5a82dfe/src/lib/alpm_backup.sh#L38 modifies pacman database!]), ABS support, print AUR comments, multilingual}}
+
| Bash || {{Yes|https://github.com/floft/spinach/commit/5455747}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}}
 
|}
 
|}
  
== Graphical ==
+
=== Pacman wrappers ===
  
{{Warning|
+
{{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.}}
* Graphical AUR helpers are typically aimed at [[Arch-based distributions]]. Their use in [[Arch Linux]] may lead to a defective system, for example through unattended [[partial upgrades]].
 
* If a helper has ''known'' problematic behavior, it is colored with a red entry.}}
 
  
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written in !! GUI toolkit !! Backend helper !! Notes
+
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Unsafe flags !! Shell completion !! Specificity
 
|-
 
|-
! {{AUR|aarchup}}
+
! {{AUR|aura}}
| C
+
| 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 || {{-}}
| GTK+ 2
 
| auracle
 
| {{-}}
 
 
|-
 
|-
! {{AUR|argon}}
+
! {{AUR|pacaur}}
| Python
+
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/rmarquis/pacaur/commit/12707cc --ask] || bash, zsh || {{L|batch interaction 2}}
| GTK+ 3
 
| auracle, pacaur
 
| {{-}}
 
 
|-
 
|-
! {{AUR|cylon}}
+
! {{AUR|pakku}}
| Bash
+
| 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}}
| TUI
 
| auracle, trizen
 
| {{-}}
 
 
|-
 
|-
! {{AUR|kalu}}
+
! {{AUR|pikaur}}
| C
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || [https://github.com/actionless/pikaur#pikaur -Sy] || bash, fish, zsh || {{L|batch interaction 1/2, [http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users]}}
| GTK+ 3
 
| {{-}}
 
| {{-}}
 
 
|-
 
|-
! {{AUR|pactray}}
+
! {{AUR|trizen}}
| Python
+
| 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]}} || {{-}} || bash, fish, zsh || {{-}}
| GTK+3
 
| auracle
 
| {{-}}
 
 
|-
 
|-
! {{AUR|pamac-aur}}
+
! {{AUR|yay}}
| Vala
+
| Go || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/447}} || {{Yes|https://github.com/Jguer/yay/pull/297}} || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/866}} || {{Yes}} || [https://github.com/Jguer/yay/commit/3bdb534 -Sy*]<br>[https://github.com/Jguer/yay/commit/ea5a94e --ask*] || bash, fish, zsh || {{L|batch interaction 1/2, fetch PGP keys}}
| GTK+ 3
 
| {{-}}
 
| Uses {{man|3|libalpm}} instead of {{man|8|pacman}}
 
|-
 
! {{AUR|pakku-gui}}
 
| Python
 
| GTK+ 3
 
| pakku
 
| {{-}}
 
|-
 
! {{AUR|pkgbrowser}}
 
| Python
 
| Qt 5
 
| {{-}}
 
| {{-}}
 
|-
 
! {{AUR|updatehint}}
 
| Bash
 
| GTK+ 3
 
| auracle
 
| {{-}}
 
 
|-
 
|-
! {{R|{{AUR|octopi}}}}
+
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use discontinued])</small>}}
| C++
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No|https://github.com/polygamma/aurman/issues/259}} || {{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|batch interaction 1/2, fetch PGP keys}}
| Qt 5
 
| trizen, pacaur, yaourt
 
| {{R|[https://github.com/aarnt/octopi/blob/271c7e1/octopi.install enabled on install] notifier service regularly [https://github.com/aarnt/octopi/issues/134#issuecomment-142099266 performs partial upgrades]}}
 
 
|}
 
|}
  
== Libraries ==
+
== Graphical ==
 
 
* {{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}}}}
+
{{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++.|https://octopiproject.wordpress.com/|{{AUR|octopi}}}}
  
 
== Maintenance ==
 
== 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|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|[[DeveloperWiki:Building in a clean chroot|devtools]]|Build packages in a clean environment ([[systemd-nspawn]] container) to ensure their correctness. Wrapped by {{AUR|aurutils}} and {{AUR|clean-chroot-manager}}.|https://git.archlinux.org/devtools.git/|{{Pkg|devtools}}}}
 
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
 
* {{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|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}}}}
 
* {{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}}}}
  
== Uploading ==
+
== Other ==
  
* [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
+
* {{App|aur-talk|Fetch and display AUR comments.|https://github.com/GermainZ/aur-talk|{{AUR|aur-talk-git}}}}
* [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}}
+
* {{App|aurvote-utils|A set of utilities for managing AUR votes.|https://github.com/jadenPete/aurvote-utils|{{AUR|aurvote-utils}}}}
* {{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|haskell-aur|Haskell library for accessing Aurweb RPC interface.|https://hackage.haskell.org/package/aur|{{AUR|haskell-aur}}}}
 +
* {{App|package-query|Tool for querying {{man|3|libalpm}} and the AUR.|https://github.com/archlinuxfr/package-query|{{AUR|package-query}}}}
 +
* {{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|raur|Rust library for accessing [[Aurweb RPC interface]].|https://gitlab.com/davidbittner/raur||}}

Latest revision as of 03:13, 1 October 2019

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.

Legend

The #Comparison tables 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 tables

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

Search and build

Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Shell completion Specificity
aurutilsAUR Bash/C Yes Yes Yes Yes Yes Yes bash, 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 for pacman wrapping
repofishAUR Bash No Yes Yes No No No local repository
ruaAUR Rust Yes Yes Yes Yes Yes Yes bash, zsh, fish bubblewrap, .pkg.tar inspection
aurgetAUR
(discontinued)
Bash No No No No No No bash, zsh
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
pacaurAUR Bash/C Yes Yes Yes Yes Yes Yes --ask bash, zsh batch interaction 2
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 batch interaction 1/2, dynamic users
trizenAUR Perl Yes Yes Yes Yes Yes Partial bash, fish, zsh
yayAUR Go Yes Yes Yes Yes Yes Yes -Sy*
--ask*
bash, fish, zsh batch interaction 1/2, fetch PGP keys
aurmanAUR
(discontinued)
Python Yes Yes Yes Yes No Yes -Sy*
--ask*
bash, fish batch interaction 1/2, fetch PGP keys

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
  • Octopi — Qt 5 pacman wrapper written in C++.
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
https://git.archlinux.org/devtools.git/ || devtools
  • 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

  • aur-talk — Fetch and display AUR comments.
https://github.com/GermainZ/aur-talk || aur-talk-gitAUR
  • aurvote-utils — A set of utilities for managing AUR votes.
https://github.com/jadenPete/aurvote-utils || aurvote-utilsAUR
  • haskell-aur — Haskell library for accessing Aurweb RPC interface.
https://hackage.haskell.org/package/aur || haskell-aurAUR
  • package-query — Tool for querying libalpm(3) and the AUR.
https://github.com/archlinuxfr/package-query || package-queryAUR
  • 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
https://gitlab.com/davidbittner/raur ||