Difference between revisions of "User:Svito/AUR helpers"

From ArchWiki
Jump to navigation Jump to search
m (sign)
 
(61 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
{{Comment|This is draft for [[AUR helpers]] started from [[Talk:AUR helpers#Native pacman revisited]]. Use [[Template:Comment]] for suggestions on the draft page.
+
{{Comment|Draft for [[AUR helpers]] before before [[Special:Diff/557837]].}}
:Maybe a smaller or no fixed width? The GUI table ([[AUR helpers#Graphical]]) is not 100% either. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 19:58, 21 August 2018 (UTC)
+
{{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.}}
::100% agreed ;) Unfixed width for all tables and it looks better on any resolution IMO. -- [[User:Svito|Svito]] ([[User talk:Svito|talk]]) 20:56, 21 August 2018 (UTC)}}
+
{{Note|Please use the discussion page to suggest edits to this article: [[Talk:AUR helpers]].}}
  
=== Search and download only ===
+
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.
  
{{Comment|From [[User:halosghost]]: Search/Download-only could be a good section title, because some of these tools support package downloads as well. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 21:56, 21 August 2018 (UTC)}}
+
[[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.
  
{| class="wikitable sortable" style="text-align: center;"
+
Since AUR helpers are unsupported, they are not present in the [[official repositories]].
! Name !! Written in !! File review !! Reliable parser !! Reliable solver !! Git clone !! Shell completion !! Specificity
+
 
|-
+
== Legend ==
! {{AUR|pbget}}
+
 
| Python || {{Yes}} || {{Yes}} || {{-}} || {{Yes}} || {{-}} || {{-}}
+
Explanations for common features found in AUR helpers:
|-
+
 
! {{AUR|yaah}}
+
;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.
| Bash || {{Yes}} || {{Yes}} || {{-}} || {{Y|Optional}} || bash || {{-}}
+
;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.
! {{AUR|auracle-git}}
+
;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}}.
| C++ || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || {{-}} || {{L|print build order}}
+
;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:
! {{AUR|cower}}
+
:* Multiple packages from the same package base, without rebuilding or reinstalling multiple times, such as {{AUR|clion}}
| C || {{Yes}} || {{Yes}} || {{-}} || {{No}} || bash, zsh || {{L|regex support, sort by votes/popularity}}
+
:* 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}}.
! {{AUR|package-query}}
+
;Clean build: Does not export new variables that can prevent a successful build process.
| C || {{Yes}} || {{R|[https://github.com/archlinuxfr/package-query/issues/135 No]}} || {{-}} || {{-}} || {{-}} || {{-}}
+
;Batch inspection: Prompts for inspection of package files or their differences before the build process.
|-
+
;Upgrade summary: When used as replacement for [[pacman]], prints summary of package upgrades before the build process.
! {{AUR|repoctl}}
+
;Handle conflicts: When used as replacement for [[pacman]], can solve conflicts between packages before the build process.
| Go || {{Yes}} || {{G|[https://github.com/goulash/pacman/blob/master/aur/aur.go Yes]}} || {{-}} || {{No}} || zsh || {{L|local repository support}}
+
;Shell completion: [[w:Command-line_completion|Tab completion]] is available for the listed [[shell]]s.
|-
+
 
! {{Grey|1={{AUR|aurel}} <small>([https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459 discontinued])</small>}}
+
== Search and download ==
| Emacs Lisp || {{Yes}} || {{-}} || {{-}} || {{No}} || {{-}} || {{L|Emacs integration}}
+
 
|}
+
* {{App|auracle|Written in C++. Features: file review, [https://github.com/falconindy/auracle/commit/c73bbee git clone], reliable parser, reliable solver, bash completion, print build order.|https://github.com/falconindy/auracle|{{AUR|auracle-git}}}}
 +
* {{App|1=aurel|2=[[Emacs]] package. [https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459 Discontinued]. Features: file review, reliable parser. No git clone support.|3=https://github.com/cassava/repoctl|4={{AUR|aurel}}}}
 +
* {{App|cower|Written in C. [https://github.com/falconindy/cower#description Discontinued]. Features: file review, reliable parser, bash/zsh completion, regex support, sort by votes/popularity. No git clone support.|https://github.com/cassava/repoctl|{{AUR|cower}}}}
 +
* {{App|pbget|Written in Python. Features: file review, git clone, reliable parser, [[ABS]] support.|https://xyne.archlinux.ca/projects/pbget/|{{AUR|pbget}}}}
 +
* {{App|repoctl|Local repository manager written in Go. Features: file review, reliable parser, zsh completion. No git clone support.|https://github.com/cassava/repoctl|{{AUR|repoctl}}}}
 +
* {{App|yaah|Written in Bash. Features: file review, reliable parser, bash completion. Optional git clone.|https://projects.metalgamer.eu/yaah|{{AUR|yaah}}}}
 +
 
 +
== Download and build ==
 +
 
 +
* {{App|aurutils|Written in Bash/C. Features: file review, diff view, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, zsh completion, [[vifm]], [[local repository]], [[package signing]], [[DeveloperWiki:Building in a clean chroot|clean chroot]] support, sort by votes/popularity.|https://github.com/AladW/aurutils|{{AUR|aurutils}}}}
 +
* {{App|bauerbill|Written in Python. Features: file review, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, bash/zsh completion, trust management, [[ABS]] support. Extends ''powerpill'', use {{ic|bb-wrapper}} for ''pacman'' wrapping. No diff view support.|https://xyne.archlinux.ca/projects/bauerbill/|{{AUR|bauerbill}}}}
 +
* {{App|rua|Written in Rust. Features: file review, git clone, [https://github.com/vn971/rua/commit/fc8c2f3 reliable parser], reliable solver, split packages, clean build, batch inspection, bash/fish/zsh completion, tar artifact inspections (SUID, install file etc), isolated build, offline build. [https://github.com/vn971/rua/issues/1 No diff view support].|https://github.com/vn971/rua|{{AUR|rua}}}}
 +
* {{App|PKGBUILDer|Written in Python. Features: git clone, [https://github.com/vn971/rua/commit/fc8c2f3 reliable parser], reliable solver, clean build, multilingual. File review and batch inspection is optional. Automatic builds by default, use {{ic|-F}} to disable. Use {{ic|pb-wrapper}} for ''pacman'' wrapping. [https://github.com/Kwpolska/pkgbuilder/issues/39 Partial support for split packages]. [https://github.com/Kwpolska/pkgbuilder/issues/36 No diff view support].|https://github.com/Kwpolska/pkgbuilder|{{AUR|pkgbuilder}}}}
  
=== AUR only ===
 
  
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written in !! File review !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specificity
+
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Clean build !! Batch interaction || Shell completion !! Specificity
 
|-
 
|-
! {{AUR|aurutils}}
+
! {{AUR|repofish}}
| 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}}
+
| Bash || {{Y|Optional}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || 1* || {{-}} || {{L|automatic builds by default, use {{ic|check}} or {{ic|update}} to disable; [[local repository]] support}}
|-
 
! {{AUR|bauerbill}}
 
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || 1 || bash, zsh || {{L|trust management, [[ABS]] support, extends ''powerpill'', {{ic|bb-wrapper}} for ''pacman'' wrapping}}
 
 
|-
 
|-
! {{AUR|PKGBUILDer}}
+
! {{Grey|{{AUR|naaman}} <br> <small>([https://github.com/enckse/naaman/issues/20#issuecomment-433781874 discontinued])</small>}}
| Python || {{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, {{ic|pb-wrapper}} for ''pacman'' wrapping}}
+
| 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}} || 1* || bash || {{L|automatic builds by default, use {{ic|--fetch}} to disable; use {{ic|-d}} to enable the solver}}
 
|-
 
|-
! {{AUR|naaman}}
+
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach discontinued])</small>}}
| 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}}
+
| Bash || {{Yes|https://github.com/floft/spinach/commit/5455747}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! {{AUR|repofish}}
+
! {{Grey|{{AUR|aurget}} <br> <small>(stalled)</small>}}
| 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}}
+
| Bash || {{Y|Optional}} || {{No|https://github.com/pbrisbin/aurget/issues/41}} || {{No}} || {{No}} || {{No}} || {{No|https://github.com/pbrisbin/aurget/issues/40}} || {{Yes}} || {{-}} || bash, zsh || {{L|sort by votes}}
 
|-
 
|-
! {{AUR|aurget}}
+
! {{Grey|{{AUR|burgaur}} <br> <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
| 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}}
+
| Python/C || {{Y|Optional}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|wrapper for ''cower''}}
|-
 
! {{Grey|{{AUR|spinach}} <small>([https://github.com/floft/spinach discontinued])</small>}}
 
| Bash || {{G|[https://github.com/floft/spinach/commit/545574700812eb369b9537370f085ec9e5c3f01a Yes]}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
 
|-
 
! {{Grey|{{AUR|burgaur}} <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
 
| Python/C || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{L|wrapper for ''cower''}}
 
 
|}
 
|}
  
=== pacman wrappers ===
+
== 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.}}
* pacman wrappers may use [[System maintenance#Avoid certain pacman commands|unsafe flags]], in particular for installation of packages from the [[official repositories]] and that may lead to a broken system.
 
* Unlike {{man|8|pacman}}, these tools are not subject to [[core]] strict quality requirements, and may ''at any point'' add unsafe flags or break the system in other ways.}}
 
  
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written in !! File review !! Unsafe flags !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specificity
+
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Clean build !! Unsafe flags !! Batch interaction !! Shell completion !! Specificity
|-
 
! {{AUR|yay}}
 
| Go || {{Yes}} || {{Y|[https://github.com/Jguer/yay/commit/3bdb5343218d99d40f8a449b887348611f6bdbfc {{ic|-Sy}}*][https://github.com/Jguer/yay/commit/ea5a94e0f8bb5f76879099e6d319c0c0102231c2 {{ic|--ask}}*]}} || {{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|fetch PGP keys, sort by votes/popularity, [https://github.com/Jguer/yay/commit/4bcd3a6297052714e91e3f886602ce5c12d15786 prompt architecture]}}
 
 
|-
 
|-
 
! {{AUR|pakku}}
 
! {{AUR|pakku}}
| Nim || {{Yes}} || {{R|[https://github.com/kitsunyan/pakku/wiki/Native-Pacman-Explanation {{ic|-Sy}}]}} || {{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}}
+
| 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] || 1 || bash, zsh || {{L|[[ABS]] support, AUR comments, fetch PGP keys}}
 
|-
 
|-
 
! {{AUR|pikaur}}
 
! {{AUR|pikaur}}
| Python || {{Yes}} || {{R|[https://github.com/actionless/pikaur#pikaur {{ic|-Sy}}]}} || {{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]}}
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes|https://github.com/actionless/pikaur/commit/d409b95}} || {{Yes}} || [https://github.com/actionless/pikaur#pikaur -Sy] || 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/3688d82 ignore errors]}}
 +
|-
 +
! {{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*] || 1, [https://github.com/Jguer/yay/commit/3bdb534 2*], [https://github.com/Jguer/yay/commit/ea5a94e 3*] || bash, fish, zsh || {{L|fetch PGP keys, sort by votes/popularity, [https://github.com/Jguer/yay/commit/4bcd3a6 prompt architecture]}}
 
|-
 
|-
 
! {{AUR|trizen}}
 
! {{AUR|trizen}}
| Perl || {{Yes}} || {{Y|[https://github.com/trizen/trizen/commit/9e7b40e110175ea5bc7a0fa002ffadbf1106704b {{ic|-Ud}}*]}} || {{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}}
+
| 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*] || 1* || bash, fish, zsh || {{L|automatic builds by default, use {{ic|-G}} to disable; AUR comments}}
 
|-
 
|-
 
! {{AUR|aura}}
 
! {{AUR|aura}}
| Haskell || {{Y|Optional}} || {{G|–}} || {{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}}
+
| 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}} || {{-}} || 1* || bash, zsh || {{L|automatic builds by default, use {{ic|--dryrun}} to disable; [[downgrade]] support, multilingual}}
 
|-
 
|-
! {{AUR|yaourt}}
+
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use no&nbsp;user&nbsp;support])</small>}}
| Bash/C || {{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://github.com/archlinuxfr/yaourt/blob/d30823e714e4938f81a788abc7f5d19619aa18d5/yaourt/yaourt#L1773 {{ic|-Sy}}]}} || {{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|db backup – [[Special:Diff/536895/next#on the evils of yaourt|not a replacement]] for [[system backup]]! ABS support, print AUR comments, multilingual}}
+
| 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*] || 1, [https://github.com/polygamma/aurman#question-6 2*, 3*] || bash, fish || {{L|fetch PGP keys, sort by votes/popularity, print news}}
 
|-
 
|-
! {{Grey|{{AUR|aurman}} <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use private])</small>}}
+
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
| Python || {{Yes}} || {{Y|[https://github.com/polygamma/aurman#question-6 {{ic|-Sy}}*<br>{{ic|--ask}}*]}} || {{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}}
+
| 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] || 1, 3 || bash, zsh || {{L|multilingual, sort by votes/popularity}}
 
|-
 
|-
! {{Grey|1={{AUR|pacaur}} <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
+
! {{Grey|{{AUR|wrapaur}} <br> <small>(stalled)</small>}}
| Bash/C || {{Yes}} ||style="background-color:#FA8072"| [https://github.com/rmarquis/pacaur/commit/d8f49188452785fb28afc017baadd01d9e24ba21 {{ic|-Ud}}], [https://github.com/rmarquis/pacaur/commit/12707cc7f9fb733082dcb33e22e4994c11eabb5f {{ic|--ask}}] || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || 1, 3 || bash, zsh || {{L|multilingual, sort by votes/popularity}}
+
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
 
|-
 
|-
! {{Grey|1={{AUR|wrapaur}} <small>(discontinued)</small>}}
+
! {{Grey|{{AUR|packer-aur}} <br> <small>(stalled)</small>}}
| Bash || {{Yes}} || {{G|–}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{No}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
+
| Bash || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{-}}
|-
 
! {{Grey|1={{AUR|packer-aur}} <small>(discontinued)</small>}}
 
| Bash || {{No}} || {{G|–}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
 
 
|-
 
|-
 +
! {{Grey|{{AUR|yaourt}} <br> <small>(stalled)</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] || 2 || bash, fish, zsh || {{L|ABS support, print AUR comments, multilingual}}
 
|}
 
|}
  
{{Move|User talk:Svito/AUR helpers|These comment threads are getting out of hand.}}
+
== Graphical ==
 +
 
 +
{{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}}}}
 +
 
 +
== 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}}}}
  
{{Comment|"Closed development" is more accurate than "Not for public use" in aurman's Notes. Anyone can use aurman by installing the AUR package, they just can't participate in development. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 22:11, 21 August 2018 (UTC)
+
== Maintenance ==
:: Note that bauerbill fits the criteria of "closed development" too. I'd also suggest keeping pacaur in a separate table, or removing it entirely - unlike the others, it's officially deprecated -- [[User:Spyhawk|Spyhawk]] ([[User talk:Spyhawk|talk]]) 19:02, 22 August 2018 (UTC)
 
::: I don't like this suggestion, it's overly complex and makes a big deal out of small details.
 
::: Also bauerbill isn't "closed" in the sense aurman is, since anyone can leave requests on the bauerbill forum page. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 22:05, 22 August 2018 (UTC)
 
::::Just to be clear do you think so of [[Special:Diff/536803/next]] as well or only of [[User:Spyhawk|Spyhawk]] suggestion?
 
::::I checked recent [[User:Xyne|Xyne]] posts and homepage myself and he accepts suggestions via email and forum so I did not move it. -- [[User:Svito|Svito]] ([[User talk:Svito|talk]]) 22:36, 22 August 2018 (UTC)
 
:::::I'd still use a better indicator for discontinued projects (extra column, or bold 'discontinued' text? Strikethrough on the package name works great too). -- [[User:Spyhawk|Spyhawk]] ([[User talk:Spyhawk|talk]]) 08:02, 23 August 2018 (UTC)
 
::::::The bold discontinued/private looks good to me. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 15:26, 23 August 2018 (UTC)
 
::::::From #archlinux: aurman is not "private" in the sense that the source code is still available to anyone. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 17:40, 24 August 2018 (UTC)}}
 
 
{{Comment|I think using a separate section for pacman wrappers deals with the problematic perfectly. However, I'm unsure if issues should be included in the ''Specificity'' column (as done for ''yaourt'' below; {{ic|splits -Syu}} is missing for some entries). The column is to the far right of the table and may be overlooked. That said, a second column might be overkill. I wonder what incorporating remarks on pacman wrapping in the ''Name'' column would look like. [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 19:53, 21 August 2018 (UTC)
 
:Changed ''Specifity'' to ''Notes'', added split pacman -Syu and colored helper column accordingly. Thanks for all feedback! -- [[User:Svito|Svito]] ([[User talk:Svito|talk]]) 21:06, 21 August 2018 (UTC)
 
::I think the colored table headers are confusing because it's not obvious what the colors mean. I'd prefer a dedicated column. --[[User:Larivact|Larivact]] ([[User talk:Larivact|talk]]) 04:22, 22 August 2018 (UTC)
 
:::It should be clear enough if done like in [[AUR helpers#Graphical]]. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 15:29, 23 August 2018 (UTC)
 
::::I think doing it that way would be less clear and just unnecessary visual complication, if we have 12 columns, we can just as well have 13. --[[User:Larivact|Larivact]] ([[User talk:Larivact|talk]]) 15:36, 23 August 2018 (UTC)
 
:::::In that case we should find a better name than "Bad wrap"... -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 16:35, 23 August 2018 (UTC)
 
::::::Dangerous splitting? --[[User:Larivact|Larivact]] ([[User talk:Larivact|talk]]) 16:42, 23 August 2018 (UTC)
 
:::::::Well, that doesn't handle the installation/other case (like -Ud for pacaur)... -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 16:50, 23 August 2018 (UTC)
 
::::::::Unsafe practices? --[[User:Larivact|Larivact]] ([[User talk:Larivact|talk]]) 16:57, 23 August 2018 (UTC)
 
:::::::::Unsafe ''flags'' is fine to me. Though ''uses'' may now be redundant, and we can just list the flags directly. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 07:19, 24 August 2018 (UTC)
 
The warning on pacman wrappers could probably be included here, instead of the criteria. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 19:54, 21 August 2018 (UTC)}}
 
  
{{Comment|Not sure if "such usage" in the warning is clear enough. It could mean "usage of pacman wrappers in general" or "use of pacman wrappers ''for packages in the official repositories''. Note that latter does not handle the common case of AUR packages with repo dependencies - the installation of said deps will also be wrapped. If nobody has arguments against I'd thus go with an explicit "usage of pacman wrappers".
+
* {{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}}}}
Some reference to the "Bad wrap" (or whatever column name we decide on) could also be made. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 16:38, 23 August 2018 (UTC)
+
* {{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}}}}
:This opens another can of worms: some helpers are ''optionally'' pacman wrappers, like bauerbill and pkgbuilder which include separate programs for this functionality. I'm not sure they'd fit under "AUR only" though. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 16:58, 23 August 2018 (UTC)
+
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
::Or perhaps not, since "bad wrap" is only relevant if it does so by default. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 17:10, 23 August 2018 (UTC)
+
* {{App|pkgbuildup|Helps AUR package maintainers automatically update PKGBUILD files. Supports a template variable syntax.|https://github.com/fasheng/pkgbuildup|{{AUR|pkgbuildup-git}}}}
:::I don't feel "by default" is presented in an explicit manner, especially in regards to the wrappers that don't use bad wraps even as option. Maybe use something like "not by default" where relevant instead? Or an asterisk with the "*not be default" below the table? -- [[User:Spyhawk|Spyhawk]] ([[User talk:Spyhawk|talk]]) 09:50, 24 August 2018 (UTC)
+
* {{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}}}}
::::I guess this is covered by "Optional" now. -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 16:22, 24 August 2018 (UTC)}}
 
{{Comment|1=I'd set the "Bad wrap" column right of "File review", since latter is more important in terms of safety (besides looking somewhat neater with other tables starting in "File review" as well). -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 16:49, 23 August 2018 (UTC)
 
:This is what it looks like: [https://wiki.archlinux.org/index.php?title=User:Svito/AUR_helpers&oldid=537418] -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 17:23, 23 August 2018 (UTC)
 
::I'm no longer convinced this actually looks better though. More opinions? -- [[User:Alad|Alad]] ([[User talk:Alad|talk]]) 17:36, 24 August 2018 (UTC)
 
:::The potentially unsafe flag column is closely related to Batch interaction. Maybe move it to the end instead? In the end, it doesn't matter which order it is displayed. Also, to keep it simple, yellow color could be used for optional flags, red for enabled by default, green for no unsafe flag at all. -- [[User:Spyhawk|Spyhawk]] ([[User talk:Spyhawk|talk]]) 18:12, 24 August 2018 (UTC)}}
 

Latest revision as of 14:36, 2 December 2018

Comment: Draft for AUR helpers before before Special:Diff/557837.
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

Explanations for common features found in AUR helpers:

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 inspection
Prompts for inspection of package files or their differences before the build process.
Upgrade summary
When used as replacement for pacman, prints summary of package upgrades before the build process.
Handle conflicts
When used as replacement for pacman, can solve conflicts between packages before the build process.
Shell completion
Tab completion is available for the listed shells.

Search and download

  • auracle — Written in C++. Features: file review, git clone, reliable parser, reliable solver, bash completion, print build order.
https://github.com/falconindy/auracle || auracle-gitAUR
  • aurelEmacs package. Discontinued. Features: file review, reliable parser. No git clone support.
https://github.com/cassava/repoctl || aurelAUR
  • cower — Written in C. Discontinued. Features: file review, reliable parser, bash/zsh completion, regex support, sort by votes/popularity. No git clone support.
https://github.com/cassava/repoctl || cowerAUR
  • pbget — Written in Python. Features: file review, git clone, reliable parser, ABS support.
https://xyne.archlinux.ca/projects/pbget/ || pbgetAUR
  • repoctl — Local repository manager written in Go. Features: file review, reliable parser, zsh completion. No git clone support.
https://github.com/cassava/repoctl || repoctlAUR
  • yaah — Written in Bash. Features: file review, reliable parser, bash completion. Optional git clone.
https://projects.metalgamer.eu/yaah || yaahAUR

Download and build

  • aurutils — Written in Bash/C. Features: file review, diff view, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, zsh completion, vifm, local repository, package signing, clean chroot support, sort by votes/popularity.
https://github.com/AladW/aurutils || aurutilsAUR
  • bauerbill — Written in Python. Features: file review, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, bash/zsh completion, trust management, ABS support. Extends powerpill, use bb-wrapper for pacman wrapping. No diff view support.
https://xyne.archlinux.ca/projects/bauerbill/ || bauerbillAUR
  • rua — Written in Rust. Features: file review, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, bash/fish/zsh completion, tar artifact inspections (SUID, install file etc), isolated build, offline build. No diff view support.
https://github.com/vn971/rua || ruaAUR
https://github.com/Kwpolska/pkgbuilder || pkgbuilderAUR


Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Clean build Batch interaction Shell completion Specificity
repofishAUR Bash Optional Yes Yes No No No Yes 1* automatic builds by default, use check or update to disable; local repository support
naamanAUR
(discontinued)
Python Optional No Yes Yes Partial Partial Yes 1* bash automatic builds by default, use --fetch to disable; use -d to enable the solver
spinachAUR
(discontinued)
Bash Yes No No No No No Yes
aurgetAUR
(stalled)
Bash Optional No No No No No Yes bash, zsh sort by votes
burgaurAUR
(discontinued)
Python/C Optional No No No No No Yes wrapper for cower

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 Batch interaction Shell completion Specificity
pakkuAUR Nim Yes Yes Yes Yes Yes Yes Yes -Sy 1 bash, zsh ABS support, AUR comments, fetch PGP keys
pikaurAUR Python Yes Yes Yes Yes Yes Yes Yes -Sy 1, 2, 3 bash, fish, zsh dynamic users, multilingual, sort by votes/popularity, print news, ignore errors
yayAUR Go Yes Yes Yes Yes Yes Yes Yes -Sy*
--ask*
1, 2*, 3* bash, fish, zsh fetch PGP keys, sort by votes/popularity, prompt architecture
trizenAUR Perl Yes Yes Yes Yes Yes Partial Yes -Ud* 1* bash, fish, zsh automatic builds by default, use -G to disable; AUR comments
auraAUR Haskell Optional Partial No Yes No No Yes 1* bash, zsh automatic builds by default, use --dryrun to disable; downgrade support, multilingual
aurmanAUR
(no user support)
Python Yes Yes Yes Yes Yes Yes Yes -Sy*
--ask*
1, 2*, 3* bash, fish fetch PGP keys, sort by votes/popularity, print news
pacaurAUR
(discontinued)
Bash/C Yes Yes Yes Yes Yes Yes Yes -Ud
--ask
1, 3 bash, zsh multilingual, sort by votes/popularity
wrapaurAUR
(stalled)
Bash Yes No Yes No No No Yes mirror updates, print news and AUR comments
packer-aurAUR
(stalled)
Bash No No No No No No Yes
yaourtAUR
(stalled)
Bash/C No Optional Optional No No No No -Sy 2 bash, fish, zsh ABS support, print AUR comments, multilingual

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

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

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