Difference between revisions of "AUR helpers"

From ArchWiki
Jump to: navigation, search
m
(Active: be more specific about aurutils systemd-nspawn usage)
 
(647 intermediate revisions by 95 users not shown)
Line 1: Line 1:
[[Category:Arch User Repository]]
 
 
[[Category:Package management]]
 
[[Category:Package management]]
[[es:Aurbuild]]
+
[[de:AUR Hilfsprogramme]]
 
[[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|<nowiki></nowiki>
 +
* AUR helpers are '''not''' [https://bbs.archlinux.org/viewtopic.php?pid&#61;828254#p828254 supported] by Arch Linux. It is recommended to become familiar with the [[Arch User Repository#Installing packages|manual build process]] in order to be prepared to troubleshoot problems on one's own.
 +
* AUR helpers can replicate {{man|8|pacman}} usage for the [[official repositories]], such as {{ic|pacman -Syu}}. This usage may deviate from ''pacman'' in various ways; it is thus '''not''' supported or recommended.}}
  
'''AUR Helpers''' are written to make using the [[Arch User Repository]] more comfortable.
+
AUR helpers are written to automate certain tasks for the [[Arch User Repository]].
  
== Search/build helpers ==
+
== Build and search ==
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}}}}
+
{{Note|Do not edit this section prior to discussion in [[Talk:AUR helpers]].}}
  
* {{App|Aurnotify|A tool set to notify the status of your favorite packages from AUR.|http://adesklets.sourceforge.net/desklets.html|{{AUR|aurnotify}}}}
+
The columns have the following meaning:
  
* {{App|aurbuild|tool to download and build packages from the AUR.|http://aurbuild.berlios.de/|{{AUR|aurbuild}}}}
+
* ''Secure'': does not [[source]] the PKGBUILD at all by default; or, alerts the user and offers the opportunity to inspect the PKGBUILD manually before it is sourced. Some helpers are known to source PKGBUILDs before the user can inspect them, '''allowing malicious code to be executed'''. ''Optional'' means that there is a command line flag or configuration option to prevent the automatic sourcing before viewing.
 +
* ''Clean build'': does not export new variables that can prevent a successful build process.
 +
* ''Native pacman'': when used as replacement for {{man|8|pacman}} commands such as {{ic|pacman -Syu}}, the following are obeyed ''by default'':
 +
:– do not separate commands, for example {{ic|pacman -Syu}} is not split to {{ic|pacman -Sy}} and {{ic|pacman -S ''packages''}};
 +
:– use ''pacman'' directly instead of manual database manipulation or usage of {{man|3|libalpm}}.
 +
:In addition, unsupported commands such as {{ic|pacman -Ud}}, {{ic|pacman -Rdd}} or {{ic|pacman --force}} are '''not''' used.
 +
* ''Reliable parser'': ability to handle complex packages by using the provided metadata (RPC/.SRCINFO) instead of PKGBUILD [[w:Parsing#Parser|parsing]], such as {{AUR|aws-cli-git}}.
 +
* ''Reliable solver'': ability to correctly solve and build complex dependency chains, such as {{AUR|ros-lunar-desktop}}.
 +
* ''Split packages'': ability to correctly build and install:
 +
:– Multiple packages from the same package base, without rebuilding or reinstalling multiple times, such as {{AUR|clion}}
 +
:– Split packages which depend on a package from the same package base, such as {{AUR|libc++}} and {{AUR|libc++abi}}.
 +
:– Split packages independently, such as {{AUR|python-pyalsaaudio}} and {{AUR|python2-pyalsaaudio}}.
 +
* ''Git clone'': uses {{man|1|git-clone}} by default to retrieve build files from the AUR.
 +
* ''Diff view'': ability to view package differences on inspection. Besides the PKGBUILD, this includes changes to files such as {{ic|.install}} or {{ic|.patch}} files.
 +
* ''Batch interaction'': ability to move prompts and user interaction before the start of any build process, in particular:
 +
:– Inspection of PKGBUILDs;
 +
:– Resolution of package conflicts through {{man|8|pacman}} or {{man|1|pacinstall}}.
 +
* ''Shell completion'': [[w:Command-line_completion|tab completion]] is available for the listed [[shell]]s.
  
* {{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}}}}
+
{{Note|<nowiki></nowiki>
 +
* 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 deviates from the given criteria in a minor way.}}
  
* {{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}}}}
+
=== Active ===
  
* {{App|aurpac|Light'n'fast AUR and pacman frontend|http://3ed.jogger.pl/2009/02/15/aurpac/|{{AUR|aurpac}}}}
+
{| class="wikitable sortable" width="100%"
 
+
! Name !! Written In !! Secure !! Clean build !! Native pacman !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specificity
* {{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}}}}
+
|-
+
! {{AUR|aurman}}
* {{App|AurShell|shell-like application. With plugins included, it's possible to build and install packages from AUR, ABS, and even wrap pacman
+
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/polygamma/aurman/issues/91 Partial]}} || style="text-align:center;" | bash, fish || fetch pgp keys, sort by popularity, [https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving deep search]
:{{Note|As of 2010-09-30 it is not actively developed anymore.}}|https://github.com/husio/aursh/|{{AUR|aursh-git}}}}
+
|-
 
+
! {{AUR|aurutils}}
* {{App|[[autoaur]]|script for automatic mass downloading, updating, building, and installing groups of AUR packages|https://github.com/stefanhusmann/autoaur|{{AUR|autoaur}}}}
+
| Bash/C || {{Yes}} || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|Partial}} || style="text-align:center;" | zsh || [[vifm]], [[local repository]], [[package signing]], [[DeveloperWiki:Building_in_a_Clean_Chroot|clean chroot]] support, sort by votes/popularity
 
+
|-
* {{App|burp|fast and simple AUR uploader written in C. Supports persistent cookies for seamless logins|https://github.com/falconindy/burp|{{pkg|burp}}}}
+
! {{AUR|pikaur}}
 +
| Python || {{Yes}} || {{Yes}} || {{Y|[https://github.com/actionless/pikaur/commit/2c417628729474d58fc6556d14139bf4c42755bb Partial]}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/actionless/pikaur/commit/d409b958b4ff403d4fda06681231061854d32b3c Yes]}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/actionless/pikaur/commit/cc401f66687e3d744a728205cc86c3b1446dda92 Yes]}} || style="text-align:center;" | bash, fish, zsh || [http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], multilingual, sort by votes/popularity
 +
|-
 +
! {{AUR|pakku}}
 +
| Nim || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/864cc0373fd6095295f68cc44d1657bd17269732 Yes]}} || {{Y|[https://github.com/kitsunyan/pakku/wiki/Pacman-Wrap-Explanation Partial]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/kitsunyan/pakku/commit/396e9f44c4f5a79c7b9238835599387f6ff418fe Yes]}} || {{Y|Partial}} || style="text-align:center;" | bash, zsh || AUR comments, fetch PGP keys
 +
|-
 +
! {{AUR|bauerbill}}
 +
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || {{Y|Partial}} || style="text-align:center;" | bash, zsh || Trust management, [[ABS]] support, extends Powerpill
 +
|-
 +
! {{AUR|yay}}
 +
| Go || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Jguer/yay/commit/98ea801004fc63b5a294f46392910e85286ffd98 Partial]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{G|[https://github.com/Jguer/yay/pull/297 Yes]}} || {{R|[https://github.com/Jguer/yay/issues/131 No]}} || {{G|[https://github.com/Jguer/yay/commit/e88bf0f5b7f3ba3ffba01926bc3274b2f47e1efc Yes]}} || style="text-align:center;" | bash, zsh, fish || sort by votes, fetch PGP keys, [https://github.com/Jguer/yay/commit/4bcd3a6297052714e91e3f886602ce5c12d15786 prompt architecture]
 +
|-
 +
! {{AUR|PKGBUILDer}}
 +
| Python || {{Y|Optional}} || {{Yes}} || {{G|[https://github.com/Kwpolska/pkgbuilder/blob/master/docs/wrapper.rst Yes]}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/Kwpolska/pkgbuilder/issues/39 Partial]}} || {{Yes}} || {{No}} || {{Y|Partial}} || style="text-align:center;" | None || Automatic builds by default, use {{ic|-F}} to disable; multilingual
 +
|-
 +
! {{AUR|naaman}}
 +
| Python || {{Y|Optional}} || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Y|[https://github.com/enckse/naaman/issues/19 Partial]}} || {{Y|[https://github.com/enckse/naaman/issues/20 Partial]}} || {{Yes}} || {{No}} || {{Y|Partial}} || style="text-align:center;" | bash || Automatic builds by default, use {{ic|--fetch}} to disable, use {{ic|-d}} to enable the solver
 +
|-
 +
! {{AUR|aura}}
 +
| Haskell || {{Y|Optional}} || {{Yes}} || {{G|[https://github.com/aurapm/aura/blob/master/aura/src/Aura/Pacman.hs 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]}} || {{Y|Partial}} || style="text-align:center;" | bash, zsh || Automatic builds by default, use {{ic|--dryrun}} to disable, [[downgrade]] support, multilingual
 +
|-
 +
! {{AUR|wrapaur}}
 +
| Bash || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{No}} || {{No}} || style="text-align:center;" | None || Mirror updates, print news and AUR comments
 +
|-
 +
! {{AUR|aurget}}
 +
| Bash || {{Y|Optional}} || {{Yes}} || {{Grey|N/A}} || {{No}} || {{No}} || {{R|[https://github.com/pbrisbin/aurget/issues/40 No]}} || {{No}} || {{R|[https://github.com/pbrisbin/aurget/issues/41 No]}} || {{No}} || style="text-align:center;" | bash, zsh || sort by votes
 +
|-
 +
|}
  
* {{App|1=Cower|2=fast and simple AUR search and download agent, which will also check for updates and download dependencies.
+
=== Search-only ===
:* [https://bbs.archlinux.org/viewtopic.php?id=97137 Forum page]|3=https://github.com/falconindy/cower|4={{AUR|cower}}}}
 
  
* {{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}}}}
+
{| class="wikitable sortable" width="100%"
 
+
! Name !! Written In !! Secure !! Reliable parser !! Reliable solver !! Git clone !! Shell completion !! Specificity
* {{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}}}}
 
 
 
* {{App|Meat|front-end for cower ( see above ) and it is fully written in bash
 
:{{Note|Meat is in actually under development/alpha state.}}|https://github.com/e36freak/meat|{{AUR|meat-git}}}}
 
 
 
* {{App|owl|pacman and cower wrapper focused on simplicity|https://github.com/baskerville/owl
 
:* [https://bbs.archlinux.org/viewtopic.php?id=129609 Forum page]|https://github.com/baskerville/owl|{{AUR|owl-git}}}}
 
 
 
* {{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
 
:* [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|pbget}}
| Bash || {{Yes}} || {{No}} || {{No}} || see {{Ic|aurget --help}}
+
| Python || {{Yes}} || {{Yes}} || {{Grey|N/A}} || {{Yes}} || style="text-align:center;" | None || -
 
|-
 
|-
! AurShell
+
! {{AUR|yaah}}
| Python || {{No}} || {{No}} || {{No}} || {{Ic|aursh}} (runs Aurshell program, wherein a number of different commands can be used)
+
| Bash || {{Yes}} || {{Yes}} || {{Grey|N/A}} || {{Y|Optional}} || style="text-align:center;" | bash || -
 
|-
 
|-
! Aurora
+
! {{AUR|auracle-git}}
| Python3 || {{Yes|Basic (with makepkg)}} || {{No}} || {{No}} || see {{Ic|aurora --help}}
+
| C++ || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} || style="text-align:center;" | N/A || print build order
 
|-
 
|-
! Cower
+
! {{AUR|cower}}
| C|| {{Yes}} || {{No}} || {{Yes}} || see {{Ic|cower -h}}
+
| C || {{Yes}} || {{Yes}} || {{Grey|N/A}} || {{No}} || style="text-align:center;" | bash/zsh || regex support, sort by votes/popularity
 
|-
 
|-
! Makeaur
+
! {{AUR|package-query}}
| Bash || {{No}} || {{No}} || {{No}} || {{Ic|makeaur ''pkgname''}}
+
| C || {{Yes}} || {{No}} [https://github.com/archlinuxfr/package-query/issues/135] || {{Grey|N/A}} || {{Grey|N/A}} || style="text-align:center;" | None || -
 
|-
 
|-
! Owl
+
! {{AUR|repoctl}}
| Dash || {{Yes}} || {{Yes}} || {{Yes}} || See {{Ic|man owl}}
+
| Go || {{Yes}} || {{Yes}} [https://github.com/goulash/pacman/blob/master/aur/aur.go] || {{Grey|N/A}} || {{No}} || style="text-align:center;" | zsh || local repository support
 
|-
 
|-
! Pacaur
+
|}
| Bash, backend in C (cower)|| {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman, and/or AUR specific arguments . See also {{Ic|pacaur -h}}.
+
 
 +
=== Inactive or known issues ===
 +
 
 +
A project is considered ''inactive'' if it has been discontinued by the author, or if issues on ''security'', ''clean build'' or ''native pacman'' have been ignored for at least 6 months.
 +
 
 +
{| class="wikitable sortable" width="100%"
 +
! Name !! Written In !! Secure !! Clean build !! Native pacman !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Diff view !! Batch interaction || Shell completion !! Specificity
 
|-
 
|-
! Packer
+
! {{AUR|aurel}} [https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459]
| Bash || {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman (e.g., {{Ic|packer -S ''pkgname''}})
+
| Emacs Lisp || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Grey|N/A}} || {{No}} || {{Grey|N/A}} || {{Grey|N/A}} || style="text-align:center;" | N/A || Emacs integration, no automatic builds
 
|-
 
|-
! pacmoon
+
! {{AUR|pacaur}} [https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144]
| Zsh|| {{Yes}} || {{Yes}} || {{No}} || Similar to [[Wikipedia:Portage_(software)#Emerge|emerge]] from portage e.g. {{Ic|pacmoon -av ''pkgname''}}
+
| Bash/C || {{Yes}} || {{Yes}} || {{R|[https://github.com/rmarquis/pacaur/commit/d8f49188452785fb28afc017baadd01d9e24ba21 No]}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || style="text-align:center;" | bash, zsh || multilingual, sort by votes/popularity, batch interaction
 
|-
 
|-
! Paktahn
+
! {{AUR|trizen}}
| Lisp|| {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman (e.g., {{Ic|pak -S ''pkgname''}})
+
| Perl || {{Yes}} || {{Yes}} || {{R|[https://github.com/trizen/trizen/commit/ba687bc3c3e306e6f3942e95f825ed6a55d3ad69 No]}} || {{G|[https://github.com/trizen/trizen/commit/7ab7ee5f9f1f5d971b731d092fc8e1dd963add4b Yes]}}  || {{Yes}} || {{G|[https://github.com/trizen/trizen/commit/3c94434c66ede793758f2bf7de84d68e3174e2ac Yes]}} || {{G|[https://github.com/trizen/trizen/commit/6fb0cc9e0ab66b8cca9493b0618ba4bab5fd2252 Yes]}} || {{Yes}} || {{Y|[https://github.com/trizen/trizen/issues/8 Partial]}} || style="text-align:center;" | bash, zsh, fish || Automatic builds by default, use {{ic|-G}} to disable, AUR comments
 
|-
 
|-
! pbfetch
+
! {{AUR|spinach}}
| Bash || {{Yes}} || {{Yes}} || {{No}} || Identical to pacman, and/or AUR specific arguments (additional arguments for PKGBUILD editing, etc)
+
| Bash || {{G|[https://github.com/floft/spinach/commit/545574700812eb369b9537370f085ec9e5c3f01a Yes]}} || {{Yes}} || {{Grey|N/A}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || -
 
|-
 
|-
! PKGBUILDer
+
! [https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675 burgaur]
| 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.
+
| Python/C || {{Y|Optional}} || {{Yes}} || {{Grey|N/A}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || Wrapper for ''cower''
 
|-
 
|-
! powaur
+
! {{AUR|packer}}
| C || {{No}} || {{Yes|Limited}}|| {{No}} || Identical to pacman (eg. {{Ic|powaur -S ''pkgname''}})
+
| Bash || {{No}} || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || {{No}} || style="text-align:center;" | None || -
 
|-
 
|-
! tusdah
+
! {{AUR|yaourt}}
| Python || {{No}} || {{No|Under development}} || {{Yes}} || {{Ic|tusdah ''pkgname''}}
+
| 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://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html No]}} || {{No}} || {{No}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/186 No]}} || {{R|[https://github.com/archlinuxfr/yaourt/issues/85 No]}} || {{Y|Optional}} || {{Y|Optional}} || {{No}} || style="text-align:center;" | bash, zsh, fish || Backup, ABS support, AUR comments, multilingual
 
|-
 
|-
! [[Yaourt]]
 
| Bash, back-end in C || {{Yes}} || {{Yes}} || {{Yes}} || Identical to pacman (e.g., {{Ic|yaourt -S ''pkgname''}})
 
 
|}
 
|}
  
== Testing and validation ==
+
== Libraries ==
Helpers that check for errors in packages.
+
 
 +
* {{App|haskell-archlinux|Library to access the AUR and package metadata from the Haskell programming language|http://hackage.haskell.org/package/archlinux|{{AUR|haskell-archlinux}}}}
 +
 
 +
* {{App|python3-aur|Python 3 modules for accessing AUR package information and automating AUR interactions.|http://xyne.archlinux.ca/projects/python3-aur|{{AUR|python3-aur}}}}
 +
 
 +
== Maintenance ==
 +
 
 +
* {{App|aur-out-of-date|Uses hoster APIs to check AUR packages for upstream changes|https://github.com/simon04/aur-out-of-date|{{AUR|aur-out-of-date}}}}
 +
 
 +
* {{App|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}}}}
  
* {{App|parched|pacman package and PKGBUILD parser module|http://hackage.haskell.org/package/archlinux|{{AUR|parched}}}}
+
== Uploading ==
  
== See also ==
+
* [https://github.com/JonnyJD/PKGBUILDs/blob/master/_bin/aur4_import.sh aur4_import.sh] — Splits a package from a git repository with multiple packages, adding/updating {{ic|.SRCINFO}} for every commit.
* [[pacman GUI Frontends]]
+
* [https://github.com/JonnyJD/PKGBUILDs/blob/master/_bin/aur4_make_submodule.sh aur4_make_submodule.sh] — Replaces a package in a bigger git repository with an AUR 4 submodule, including {{ic|.SRCINFO}}.
 +
* [https://github.com/Edenhofer/abs/blob/master/aurpublish aurpublish] — Manage AUR packages as [https://raw.githubusercontent.com/git/git/master/contrib/subtree/git-subtree.txt git subtrees]. The [https://github.com/Edenhofer/abs/blob/master/pre-commit.hook generation of {{ic|.SRCINFO}} files, {{ic|PKGBUILD}} checking] and the [https://github.com/Edenhofer/abs/blob/master/prepare-commit-msg.hook creation of a per package commit message template] is left to the git hooks in the same [https://github.com/Edenhofer/abs/blob/master/README.md repo].

Latest revision as of 23:39, 20 May 2018

Warning:
  • AUR helpers are not supported by Arch Linux. It is recommended to become familiar with the manual build process in order to be prepared to troubleshoot problems on one's own.
  • AUR helpers can replicate pacman(8) usage for the official repositories, such as pacman -Syu. This usage may deviate from pacman in various ways; it is thus not supported or recommended.

AUR helpers are written to automate certain tasks for the Arch User Repository.

Build and search

Note: Do not edit this section prior to discussion in Talk:AUR helpers.

The columns have the following meaning:

  • Secure: does not source the PKGBUILD at all by default; or, alerts the user and offers the opportunity to inspect the PKGBUILD manually before it is sourced. Some helpers are known to source PKGBUILDs before the user can inspect them, allowing malicious code to be executed. Optional means that there is a command line flag or configuration option to prevent the automatic sourcing before viewing.
  • Clean build: does not export new variables that can prevent a successful build process.
  • Native pacman: when used as replacement for pacman(8) commands such as pacman -Syu, the following are obeyed by default:
– do not separate commands, for example pacman -Syu is not split to pacman -Sy and pacman -S packages;
– use pacman directly instead of manual database manipulation or usage of libalpm(3).
In addition, unsupported commands such as pacman -Ud, pacman -Rdd or pacman --force are not used.
  • 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.
  • Git clone: uses git-clone(1) by default to retrieve build files from the AUR.
  • Diff view: ability to view package differences on inspection. Besides the PKGBUILD, this includes changes to files such as .install or .patch files.
  • Batch interaction: ability to move prompts and user interaction before the start of any build process, in particular:
– Inspection of PKGBUILDs;
– Resolution of package conflicts through pacman(8) or pacinstall(1).
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 deviates from the given criteria in a minor way.

Active

Name Written In Secure Clean build Native pacman Reliable parser Reliable solver Split packages Git clone Diff view Batch interaction Shell completion Specificity
aurmanAUR Python Yes Yes Yes Yes Yes Yes Yes Yes Partial bash, fish fetch pgp keys, sort by popularity, deep search
aurutilsAUR Bash/C Yes Yes N/A Yes Yes Yes Yes Yes Partial zsh vifm, local repository, package signing, clean chroot support, sort by votes/popularity
pikaurAUR Python Yes Yes Partial Yes Yes Yes Yes Yes Yes bash, fish, zsh dynamic users, multilingual, sort by votes/popularity
pakkuAUR Nim Yes Yes Partial Yes Yes Yes Yes Yes Partial bash, zsh AUR comments, fetch PGP keys
bauerbillAUR Python Yes Yes Yes Yes Yes Yes Yes No Partial bash, zsh Trust management, ABS support, extends Powerpill
yayAUR Go Yes Yes Partial Yes Yes Yes Yes No Yes bash, zsh, fish sort by votes, fetch PGP keys, prompt architecture
PKGBUILDerAUR Python Optional Yes Yes Yes Yes Partial Yes No Partial None Automatic builds by default, use -F to disable; multilingual
naamanAUR Python Optional Yes N/A Yes Partial Partial Yes No Partial bash Automatic builds by default, use --fetch to disable, use -d to enable the solver
auraAUR Haskell Optional Yes Yes Yes No No No Partial Partial bash, zsh Automatic builds by default, use --dryrun to disable, downgrade support, multilingual
wrapaurAUR Bash Yes Yes Yes No No No Yes No No None Mirror updates, print news and AUR comments
aurgetAUR Bash Optional Yes N/A No No No No No No bash, zsh sort by votes

Search-only

Name Written In Secure Reliable parser Reliable solver Git clone Shell completion Specificity
pbgetAUR Python Yes Yes N/A Yes None -
yaahAUR Bash Yes Yes N/A Optional bash -
auracle-gitAUR C++ Yes Yes Yes No N/A print build order
cowerAUR C Yes Yes N/A No bash/zsh regex support, sort by votes/popularity
package-queryAUR C Yes No [1] N/A N/A None -
repoctlAUR Go Yes Yes [2] N/A No zsh local repository support

Inactive or known issues

A project is considered inactive if it has been discontinued by the author, or if issues on security, clean build or native pacman have been ignored for at least 6 months.

Name Written In Secure Clean build Native pacman Reliable parser Reliable solver Split packages Git clone Diff view Batch interaction Shell completion Specificity
aurelAUR [3] Emacs Lisp Yes N/A N/A N/A N/A N/A No N/A N/A N/A Emacs integration, no automatic builds
pacaurAUR [4] Bash/C Yes Yes No Yes Yes Yes Yes Yes Yes bash, zsh multilingual, sort by votes/popularity, batch interaction
trizenAUR Perl Yes Yes No Yes Yes Yes Yes Yes Partial bash, zsh, fish Automatic builds by default, use -G to disable, AUR comments
spinachAUR Bash Yes Yes N/A No No No No No No None -
burgaur Python/C Optional Yes N/A No No No No No No None Wrapper for cower
packerAUR Bash No Yes Yes No No No No No No None -
yaourtAUR Bash/C No [5] [6] No No No No No Optional Optional No bash, zsh, fish Backup, ABS support, AUR comments, multilingual

Libraries

  • haskell-archlinux — Library to access the AUR and package metadata from the Haskell programming language
http://hackage.haskell.org/package/archlinux || haskell-archlinuxAUR
  • python3-aur — Python 3 modules for accessing AUR package information and automating AUR interactions.
http://xyne.archlinux.ca/projects/python3-aur || python3-aurAUR

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
  • 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

Uploading