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

From ArchWiki
Jump to navigation Jump to search
 
(117 intermediate revisions by 4 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 !! Specifity
+
 
|-
+
== 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}} || {{No}} [https://github.com/archlinuxfr/package-query/issues/135] || {{-}} || {{-}} || {{-}} || {{-}}
+
;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}} || {{Yes}} [https://github.com/goulash/pacman/blob/master/aur/aur.go] || {{-}} || {{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}} [https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459]}}
+
== Search and download ==
| Emacs Lisp || {{Yes}} || {{-}} || {{-}} || {{No}} || {{-}} || {{L|discontinued; 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 !! Specifity
+
! 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|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|repofish}}
+
! {{Grey|{{AUR|naaman}} <br> <small>([https://github.com/enckse/naaman/issues/20#issuecomment-433781874 discontinued])</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}}
+
| 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|aurget}}
+
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach 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}}
+
| Bash || {{Yes|https://github.com/floft/spinach/commit/5455747}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! {{Grey|{{AUR|spinach}} [https://github.com/floft/spinach]}}
+
! {{Grey|{{AUR|aurget}} <br> <small>(stalled)</small>}}
| Bash || {{G|[https://github.com/floft/spinach/commit/545574700812eb369b9537370f085ec9e5c3f01a Yes]}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{L|discontinued}}
+
| 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}}
 
|-
 
|-
! {{Grey|{{AUR|burgaur}} [https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675]}}
+
! {{Grey|{{AUR|burgaur}} <br> <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
| Python/C || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{L|discontinued; wrapper for ''cower''}}
+
| Python/C || {{Y|Optional}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|wrapper for ''cower''}}
 
|}
 
|}
  
=== Pacman wrappers ===
+
== Pacman wrappers ==
 
 
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]
 
* avoid [[partial upgrades]], for example {{ic|pacman -Syu}} is not split to {{ic|pacman -Sy}} and {{ic|pacman -S ''packages''}}
 
* avoid manual database manipulation or usage of {{man|3|libalpm}} – use ''pacman'' directly instead
 
** avoid [[System maintenance#Avoid certain pacman commands|potentially harmful commands]] such as {{ic|pacman -Ud}}, {{ic|pacman -Rdd}}, {{ic|pacman --ask}} and {{ic|pacman --overwrite}}
 
  
{{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.}}
* 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.
 
* Keep in mind that using the same command for official and user-submitted packages blurs the lines between packages that are supported, and packages that might be arbitrary broken things; latter requiring careful attention before installation.
 
}}
 
  
 
{| class="wikitable sortable" style="text-align: center;"
 
{| class="wikitable sortable" style="text-align: center;"
! Name !! Written in !!Bad wrap!! File review !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specifity
+
! 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}} || {{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 || {{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}}
+
| 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 || {{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]}}
+
| 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}} || {{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|bauerbill}}
 
| Python || {{-}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || 1 || bash, zsh || {{L|trust management, [[ABS]] support, extends ''powerpill''}}
 
|-
 
! {{AUR|PKGBUILDer}}
 
| 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}}
 
 
|-
 
|-
 
! {{AUR|aura}}
 
! {{AUR|aura}}
| Haskell || {{-}} || {{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}}
+
| 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|wrapaur}}
+
! {{Grey|{{AUR|aurman}} <br> <small>([https://github.com/polygamma/aurman#stopped-development-for-public-use no&nbsp;user&nbsp;support])</small>}}
| Bash || {{-}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{No}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
+
| 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}}
 
|-
 
|-
! {{AUR|packer-aur-git}}
+
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
| Bash || {{-}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{-}} || {{-}} || {{-}}
+
| 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}}
 
|-
 
|-
! {{AUR|yaourt}}
+
! {{Grey|{{AUR|wrapaur}} <br> <small>(stalled)</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}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
 
|-
 
|-
! {{Grey|{{AUR|aurman}} [https://github.com/polygamma/aurman#stopped-development-for-public-use]}}
+
! {{Grey|{{AUR|packer-aur}} <br> <small>(stalled)</small>}}
| Python || {{-}} || {{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|closed development; fetch PGP keys, sort by votes/popularity, print news}}
+
| Bash || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! {{Grey|1={{AUR|pacaur}} [https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144]}}
+
! {{Grey|{{AUR|yaourt}} <br> <small>(stalled)</small>}}
| 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|discontinued; multilingual, sort by votes/popularity}}
+
| 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}}
 
|}
 
|}
  
{{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)
+
== Graphical ==
:: 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.
+
{{Warning|Usage of graphical AUR helpers may lead to a defective system, for example through unattended [[partial upgrades]].}}
::: 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)
+
* {{App|Argon|GTK+ 3 pacman wrapper written in Python.|https://github.com/14mRh4X0r/arch-argon|{{AUR|argon}}}}
::::Just to be clear do you think so of [[Special:Diff/536803/next]] as well or only of [[User:Spyhawk|Spyhawk]] suggestion?
+
* {{App|Cylon|TUI pacman wrapper written in Bash.|https://github.com/gavinlyonsrepo/cylon|{{AUR|cylon}}}}
::::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)
+
* {{App|Pamac|Standalone GTK+ 3 package manager using {{man|3|libalpm}} written in Vala.|https://gitlab.manjaro.org/applications/pamac|{{AUR|pamac-aur}}}}
:::::I'd still use a better indicator for discontinued projects (extra column, or bold text?). -- [[User:Spyhawk|Spyhawk]] ([[User talk:Spyhawk|talk]]) 08:02, 23 August 2018 (UTC)}}
+
* {{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}}}}
 +
 
 +
== Maintenance ==
  
{{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)
+
* {{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}}}}
: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)
+
* {{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}}}}
::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)
+
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
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)}}
+
* {{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}}}}

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