Difference between revisions of "AUR helpers"

From ArchWiki
Jump to: navigation, search
(Search/build helpers)
(simplification and beautification of wikilinks (interactive))
(Tag: wiki-scripts)
 
(901 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
[[Category:Arch User Repository]]
 
 
[[Category:Package management]]
 
[[Category:Package management]]
[[es:Aurbuild]]
+
[[Category:Software comparisons]]
 +
[[de:AUR Hilfsprogramme]]
 +
[[es:AUR helpers]]
 
[[fr:Assistants AUR]]
 
[[fr:Assistants AUR]]
[[ru:AUR Helpers]]
+
[[ja:AUR ヘルパー]]
[[tr:AUR_Yardımcı_Uygulamaları]]
+
[[pt:AUR helpers]]
[[zh-CN:AUR Helpers]]
+
[[ru:AUR helpers]]
{{Warning|None of these tools are officially supported by Arch devs. See [https://bbs.archlinux.org/viewtopic.php?pid=828254#p828254 This forum thread].}}
+
[[zh-hans:AUR helpers]]
 +
{{Warning|1=AUR helpers are '''not supported''' by Arch Linux. You should become familiar with the [[Arch User Repository#Installing packages|manual build process]] in order to be prepared to troubleshoot problems.}}
 +
{{Note|Please use the discussion page to suggest edits to this article: [[Talk:AUR helpers]].}}
  
'''AUR Helpers''' are written to make using the [[Arch User Repository]] more comfortable.
+
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.
  
== Search/build helpers ==
+
[[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.
This is a list of helper utilities that search and/or build packages.
 
  
* {{App|Aura|A multi-lingual package manager for Arch Linux written in Haskell. Has all pacman options, new ones for managing AUR packages, and a nifty logo.|https://github.com/fosskers/aura|{{AUR|aura}}}}
+
Since AUR helpers are unsupported, they are not present in the [[official repositories]].
  
* {{App|Aurnotify|A tool set to notify the status of your favorite packages from AUR.|http://adesklets.sourceforge.net/desklets.html|{{AUR|aurnotify}}}}
+
== Legend ==
  
* {{App|aurbuild|tool to download and build packages from the AUR.|http://aurbuild.berlios.de/|{{AUR|aurbuild}}}}
+
The columns have the following meaning:
  
* {{App|Aurget|aims to be a simple, pacman-like interface to the AUR. It tries to make the AUR convenient; whether the user wishes to find, download, build, install, or update AUR packages quickly. Aurget does not wrap any pure pacman commands, this is by design|http://pbrisbin.com/posts/aurget/|{{AUR|aurget}}}}
+
;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 {{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}}.
 +
;Clean build: Does not export new variables that can prevent a successful build process.
 +
;Batch interaction: Ability to prompt before the build process, in particular:
 +
:# Inspection of package files or their differences;
 +
:# Summary of 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.
  
* {{App|Aurora|very simple frontend for the AUR. It allows the user to install AUR packages, download the AUR packages (for manual installation) and also offers an AUR upgrade feature. By design, aurora does not wrap pacman|http://bitbucket.org/bbenne10/aurora|{{AUR|aurora-hg}}}}
+
{{Note|
 +
* 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.}}
  
* {{App|aurpac|Light'n'fast AUR and pacman frontend|http://3ed.jogger.pl/2009/02/15/aurpac/|{{AUR|aurpac}}}}
+
== Search and download ==
  
* {{App|Aurploader|prompts the user for an AUR username and password and will then upload PKGBUILD tarballs to the AUR. Before uploading each  package, the user is prompted to select a category. When the uploads have completed, the user is asked if the cookie file should be kept so that the script can be run again without needing the AUR username and password to be re-entered|http://xyne.archlinux.ca/projects/aurploader|{{AUR|aurploader}}}}
+
{| class="wikitable sortable" style="text-align: center;"
+
! Name !! Written in !! File review !! Git clone !! Reliable parser !! Reliable solver !! Shell completion !! Specificity
* {{App|AurShell|shell-like application. With plugins included, it's possible to build and install packages from AUR, ABS, and even wrap pacman
+
|-
:{{Note|As of 2010-09-30 it is not actively developed anymore.}}|https://github.com/husio/aursh/|{{AUR|aursh-git}}}}
+
! {{AUR|auracle-git}}
 +
| C++ || {{Yes}} || {{Yes|https://github.com/falconindy/auracle/commit/c73bbee}} || {{Yes}} || {{Yes}} || bash || {{L|print build order}}
 +
|-
 +
! {{AUR|pbget}}
 +
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 +
|-
 +
! {{AUR|yaah}}
 +
| Bash || {{Yes}} || {{Y|Optional}} || {{Yes}} || {{-}} || bash || {{-}}
 +
|-
 +
! {{AUR|repoctl}}
 +
| Go || {{Yes}} || {{No}} || {{Yes|https://github.com/goulash/pacman/blob/master/aur/aur.go}} || {{-}} || zsh || {{L|local repository support}}
 +
|-
 +
! {{Grey|1={{AUR|aurel}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459 discontinued])</small>}}
 +
| Emacs Lisp || {{Yes}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|Emacs integration}}
 +
|-
 +
! {{Grey|{{AUR|cower}} <br> <small>([https://github.com/falconindy/cower#description discontinued])</small>}}
 +
| C  || {{Yes}} || {{No}} || {{Yes}} || {{-}} || bash, zsh || {{L|regex support, sort by votes/popularity}}
  
* {{App|[[autoaur]]|script for automatic mass downloading, updating, building, and installing groups of AUR packages|https://github.com/stefanhusmann/autoaur|{{AUR|autoaur}}}}
+
|}
  
* {{App|burp|fast and simple AUR uploader written in C. Supports persistent cookies for seamless logins|https://github.com/falconindy/burp|{{pkg|burp}}}}
+
== Download and build ==
  
* {{App|1=Cower|2=fast and simple AUR search and download agent, which will also check for updates and download dependencies.
+
{| class="wikitable sortable" style="text-align: center;"
:* [https://bbs.archlinux.org/viewtopic.php?id=97137 Forum page]|3=https://github.com/falconindy/cower|4={{AUR|cower}}}}
+
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Clean build !! Batch interaction || Shell completion !! Specificity
 
+
|-
* {{App|haskell-archlinux|library to programmatically access the AUR and package metadata from the Haskell programming language|http://hackage.haskell.org/package/archlinux|{{AUR|haskell-archlinux}}}}
+
! {{AUR|aurutils}}
 
+
| 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}}
* {{App|Makeaur|wrapper for pacman and makepkg that allows users to easily install packages from the Arch User Repository|https://github.com/ghost1227/makeaur/|{{AUR|makeaur}}}}
+
|-
 
+
! {{AUR|bauerbill}}
* {{App|Meat|front-end for cower ( see above ) and it is fully written in bash
+
| Python || {{Yes}} || {{No}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || 1 || bash, zsh || {{L|trust management, [[ABS]] support, extends ''powerpill'', {{ic|bb-wrapper}} for ''pacman'' wrapping}}
:{{Note|Meat is in actually under development/alpha state.}}|https://github.com/e36freak/meat|{{AUR|meat-git}}}}
+
|-
 
+
! {{AUR|rua}}
* {{App|owl|pacman and cower wrapper focused on simplicity|https://github.com/baskerville/owl
+
| Rust || {{Yes}} || {{No|https://github.com/vn971/rua/issues/1}} || {{Yes}} || {{Yes|https://github.com/vn971/rua/commit/fc8c2f3}} || {{Yes}} || {{Yes}} || {{Yes}} || 1 || bash, zsh, fish || {{L|tar artifact inspections (SUID, install file etc), isolated build, offline build}}
:* [https://bbs.archlinux.org/viewtopic.php?id=129609 Forum page]|https://github.com/baskerville/owl|{{AUR|owl-git}}}}
+
|-
 
+
! {{AUR|PKGBUILDer}}
* {{App|1=Pacaur|2=fast workflow AUR wrapper, using cower as backend. It aims on speed and simplicity, with an uncluttered interface. It is inspired by pbfetch
+
| Python || {{Y|Optional}} || {{No|https://github.com/Kwpolska/pkgbuilder/issues/36}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Kwpolska/pkgbuilder/issues/39 Partial]}} || {{Yes}} || 1* || {{-}} || {{L|automatic builds by default, use {{ic|-F}} to disable; multilingual, {{ic|pb-wrapper}} for ''pacman'' wrapping}}
:* [https://bbs.archlinux.org/viewtopic.php?pid=937423 Forum page]|3=https://github.com/Spyhawk/pacaur|4={{AUR|pacaur}}}}
 
 
 
* {{App|1=Packer|2=wrapper for pacman and the AUR. It was designed to be a simple and very fast replacement for the basic functionality of Yaourt. It has commands to install, update, search, and show information for any package in the main repositories and in the AUR. Use pacman for other commands, such as removing a package
 
:* [https://bbs.archlinux.org/viewtopic.php?id=88115 Forum page]
 
:* [https://github.com/bruenig/packer/wiki Wiki]|3=https://github.com/bruenig/packer|4={{AUR|packer}}}}
 
 
 
* {{App|pacmoon|script for compiling arch linux packages from the AUR and repositories. It can automatically install make dependencies as binaries when necessary and update the entire system or just packages listed. It keeps track of which files have been compiled so that in the event of compiled packages getting replaced with a binary (like during an upgrade process) then pacmoon can recompile only the necessary packages|http://chilon.net/pacmoon|{{AUR|pacmoon}}}}
 
 
 
* {{App|1=Paktahn|2=yaourt replacement. It is under active development and already includes improvements such as a local cache for fast searches and interactive installation
 
:* [https://bbs.archlinux.org/viewtopic.php?id=77674&p=1 Forum page]
 
|3=https://github.com/skypher/paktahn|4={{AUR|paktahn}}}}
 
 
 
* {{App|1=Pbfetch|2=script which can be used as a pacman-independent AUR helper or a pacman wrapper with additional AUR functionality. Pbfetch aims to be a simple and fast versus the well established yaourt.
 
Pbfetch can be used as a shortcut to simply download PKGBUILDs from AUR or automatically build with dependency resolution among other things. The user can select which AUR packages to upgrade using a simple menu as well as update all AUR packages
 
:* [https://bbs.archlinux.org/viewtopic.php?id=87789 Forum page]
 
|3=https://github.com/dalingrin/pbfetch|4={{AUR|pbfetch-git}}}}
 
 
 
* {{App|Pbget|simple command-line tool for retrieving PKGBUILDs and local source files for Arch Linux. It is able to retrieve files from the official SVN and CVS web interface, the AUR and the ABS rsync server|http://xyne.archlinux.ca/projects/pbget|{{AUR|pbget}}}}
 
 
 
* {{App|1=PKGBUILDer|2=A python3 AUR helper with dependency support.  It was (probably) the first helper supporting updates through multiinfo.  Contains many useful features and is written to be fast and verbose, to eliminate long waiting times.|3=https://github.com/Kwpolska/pkgbuilder|4={{AUR|pkgbuilder}}}}
 
 
 
* {{App|1=pkgman|2=script which helps to manage a local repository. It retrieves the PKGBUILD and related files for given name from ABS or AUR and lets you edit them, automatically generates checksums, backs up the source tarball, builds and adds the package to your local repository. Then you can install it as usual with pacman. It also has AUR support for submitting tarballs and leaving comments
 
:* [https://bbs.archlinux.org/viewtopic.php?id=49023 Forum page]
 
|3=http://sourceforge.net/apps/mediawiki/pkgman/index.php|4={{AUR|pkgman}}}}
 
 
 
* {{App|1=powaur|2=minimalistic AUR helper with a pacman-like interface
 
:* [https://bbs.archlinux.org/viewtopic.php?pid=938688 Forum page]
 
|3=https://github.com/yanhan/powaur|4={{AUR|powaur}}}}
 
 
 
* {{App|Spinach|just another bash AUR helper|http://floft.net/wiki/Scripts/Spinach|{{AUR|spinach}}}}
 
 
 
* {{App|1=srcman|2=pacman/makepkg wrapper written in Bash, which transparently handles pacman operations on 'source packages'. This means, for example, that packages can be specified for installation either explicitly (pacman's {{Ic|-U}} operation) or can be installed from a (source) repository (-S operation). The address of an AUR pacman database can be found in the corresponding forum thread, by the way.<br>
 
The primary goal of this project is to provide a complete pacman wrapper and therefore, srcman supports all current pacman operations for binary ''and'' source packages|3=https://bbs.archlinux.org/viewtopic.php?id=65501|4={{AUR|srcman}}}}
 
 
 
* {{App|[[tusdah]]|an Aur helper targeted at mantaining a repository of packages built from AUR.|https://github.com/hobarrera/tusdah|{{AUR|tusdah}}}}
 
 
 
* {{App|[[Yaourt]] (Yet Another User Repository Tool)|community-contributed wrapper for pacman which adds seamless access to the AUR, allowing and automating package compilation and installation from your choice of the thousands of PKGBUILDs in the AUR, in addition to the many thousands of available Arch binary packages. Yaourt uses the same exact syntax as pacman, which saves you from relearning an entirely new method of system maintenance, but also adds new options. Yaourt expands the power and simplicity of pacman by adding even more useful features and provides pleasing, colorized output, interactive search mode, and much more|http://archlinux.fr/yaourt-en|{{AUR|yaourt}}}}
 
 
 
=== Comparison Table ===
 
 
 
{| border="1" cellpadding="4" cellspacing="0"
 
! Program !! Written in !! Dependency Support !! Core/extra/community support !! Actively Developed !! Usage
 
|-
 
! Aura
 
| Haskell || {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman, with extra options for the AUR. See {{Ic|man aura}}
 
 
|-
 
|-
! Aurget
+
! {{AUR|repofish}}
| Bash || {{Yes}} || {{No}} || {{No}} || see {{Ic|aurget --help}}
+
| 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}}
 
|-
 
|-
! AurShell
+
! {{Grey|{{AUR|naaman}} <br> <small>([https://github.com/enckse/naaman/issues/20#issuecomment-433781874 discontinued])</small>}}
| Python || {{No}} || {{No}} || {{No}} || {{Ic|aursh}} (runs Aurshell program, wherein a number of different commands can be used)
+
| 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}}
 
|-
 
|-
! Aurora
+
! {{Grey|{{AUR|spinach}} <br> <small>([https://github.com/floft/spinach discontinued])</small>}}
| Python3 || {{Yes|Basic (with makepkg)}} || {{No}} || {{No}} || see {{Ic|aurora --help}}
+
| Bash || {{Yes|https://github.com/floft/spinach/commit/5455747}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! Cower
+
! {{Grey|{{AUR|aurget}} <br> <small>(stalled)</small>}}
| C|| {{Yes}} || {{No}} || {{Yes}} || see {{Ic|cower -h}}
+
| 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}}
 
|-
 
|-
! Makeaur
+
! {{Grey|{{AUR|burgaur}} <br> <small>([https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 discontinued])</small>}}
| Bash || {{No}} || {{No}} || {{No}} || {{Ic|makeaur ''pkgname''}}
+
| Python/C || {{Y|Optional}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{L|wrapper for ''cower''}}
 +
|}
 +
 
 +
== Pacman wrappers ==
 +
 
 +
{{Warning|{{man|8|pacman}} wrappers abstract the work of the package manager. They may (optionally or by default) introduce [[System_maintenance#Avoid_certain_pacman_commands|unsafe flags]], or other unexpected behavior leading to a defective system.}}
 +
 
 +
{| class="wikitable sortable" style="text-align: center;"
 +
! Name !! Written in !! File review !! Diff view !! Git clone !! Reliable parser !! Reliable solver !! Split packages !! Clean build !! Unsafe flags !! Batch interaction !! Shell completion !! Specificity
 
|-
 
|-
! Owl
+
! {{AUR|pakku}}
| Dash || {{Yes}} || {{Yes}} || {{Yes}} || See {{Ic|man owl}}
+
| 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}}
 
|-
 
|-
! Pacaur
+
! {{AUR|pikaur}}
| Bash, backend in C (cower)|| {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman, and/or AUR specific arguments . See also {{Ic|pacaur -h}}.
+
| 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]}}
 
|-
 
|-
! Packer
+
! {{AUR|yay}}
| Bash || {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman (e.g., {{Ic|packer -S ''pkgname''}})
+
| 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]}}
 
|-
 
|-
! pacmoon
+
! {{AUR|trizen}}
| Zsh|| {{Yes}} || {{Yes}} || {{No}} || Similar to [[Wikipedia:Portage_(software)#Emerge|emerge]] from portage e.g. {{Ic|pacmoon -av ''pkgname''}}
+
| 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}}
 
|-
 
|-
! Paktahn
+
! {{AUR|aura}}
| Lisp|| {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman (e.g., {{Ic|pak -S ''pkgname''}})
+
| 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}}
 
|-
 
|-
! pbfetch
+
! {{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}} || Identical to pacman, and/or AUR specific arguments (additional arguments for PKGBUILD editing, etc)
+
| 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}}
 
|-
 
|-
! PKGBUILDer
+
! {{Grey|1={{AUR|pacaur}} <br> <small>([https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144 discontinued])</small>}}
| python3 || {{Yes}} || {{Yes}} ({{Ic|pb}} command) || {{Yes}} || Identical to pacman (e.g., {{Ic|pkgbuilder -S ''pkgname''}}). {{Ic|pb}} command supports pacman repos and the AUR.
+
| 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}}
 
|-
 
|-
! powaur
+
! {{Grey|{{AUR|wrapaur}} <br> <small>(stalled)</small>}}
| C || {{No}} || {{Yes|Limited}}|| {{No}} || Identical to pacman (eg. {{Ic|powaur -S ''pkgname''}})
+
| Bash || {{Yes}} || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{L|mirror updates, print news and AUR comments}}
 
|-
 
|-
! tusdah
+
! {{Grey|{{AUR|packer-aur}} <br> <small>(stalled)</small>}}
| Python || {{No}} || {{No|Under development}} || {{Yes}} || {{Ic|tusdah ''pkgname''}}
+
| Bash || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{-}} || {{-}} || {{-}} || {{-}}
 
|-
 
|-
! [[Yaourt]]
+
! {{Grey|{{AUR|yaourt}} <br> <small>(stalled)</small>}}
| Bash, back-end in C || {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman (e.g., {{Ic|yaourt -S ''pkgname''}})
+
| 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}}
 
|}
 
|}
  
== Testing and validation ==
+
== Graphical ==
Helpers that check for errors in packages.
+
 
 +
{{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}}}}
  
* {{App|parched|pacman package and PKGBUILD parser module|http://hackage.haskell.org/package/archlinux|{{AUR|parched}}}}
+
== Maintenance ==
  
== See also ==
+
* {{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}}}}
* [[pacman GUI Frontends]]
+
* {{App|aurpublish|Helper script to manage and upload AUR packages using {{man|1|git-subtree}}. Uses {{man|5|githooks}} to verify the PKGBUILD integrity, generate .SRCINFO automatically, and create a commit message template.|https://github.com/eli-schwartz/aurpublish|{{Pkg|aurpublish}}}}
 +
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
 +
* {{App|pkgbuildup|Helps AUR package maintainers automatically update PKGBUILD files. Supports a template variable syntax.|https://github.com/fasheng/pkgbuildup|{{AUR|pkgbuildup-git}}}}
 +
* {{App|pkgoutofdate|Parses the source URL from PKGBUILDs and tries to find new versions of packages by incrementing the version number and sending requests to the web server.|https://github.com/anatol/pkgoutofdate|{{AUR|pkgoutofdate-git}}}}

Latest revision as of 13:12, 10 November 2018

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

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

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

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

Legend

The columns have the following meaning:

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

Search and download

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

Download and build

Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Clean build Batch interaction Shell completion Specificity
aurutilsAUR Bash/C Yes Yes Yes Yes Yes Yes Yes 1 zsh vifm, local repository, package signing, clean chroot support, sort by votes/popularity
bauerbillAUR Python Yes No Yes Yes Yes Yes Yes 1 bash, zsh trust management, ABS support, extends powerpill, bb-wrapper for pacman wrapping
ruaAUR Rust Yes No Yes Yes Yes Yes Yes 1 bash, zsh, fish tar artifact inspections (SUID, install file etc), isolated build, offline build
PKGBUILDerAUR Python Optional No Yes Yes Yes Partial Yes 1* automatic builds by default, use -F to disable; multilingual, pb-wrapper for pacman wrapping
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