Difference between revisions of "AUR helpers"

From ArchWiki
Jump to: navigation, search
(added trizen)
(Active: add fish completion for aurman, see talk)
 
(572 intermediate revisions by 90 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]]
[[ja:AUR Helpers]]
+
[[ja:AUR ヘルパー]]
[[ru:AUR Helpers]]
+
[[pt:AUR helpers]]
[[tr:AUR_Yardımcı_Uygulamaları]]
+
[[ru:AUR helpers]]
[[zh-CN:AUR Helpers]]
+
[[zh-hans: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].}}
+
{{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]].
  
== AUR uploader helpers ==
+
== Build and search ==
  
* {{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. It can include comments, vote and toggle notifications as well. It is now part of the python3-aur package, which includes modules for AUR automation and some other helpers. |http://xyne.archlinux.ca/projects/python3-aur|{{AUR|python3-aur}}}}
+
The columns have the following meaning:
  
* {{App|aurup|a command line tool to upload AUR packages|http://www.pierloz.com/Aurup/|{{AUR|aurup}}}}
+
* ''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.
 +
* ''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.
 +
* ''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.
 +
* ''Shell completion'': [[w:Command-line_completion|tab completion]] is available for the listed [[shell]]s.
  
* {{App|burp|fast and simple AUR uploader written in C. Supports persistent cookies for seamless logins|https://github.com/falconindy/burp|{{pkg|burp}}}}
+
{{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.}}
  
== AUR search/build helpers ==
+
=== Active ===
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}}}}
+
{| class="wikitable sortable"
 +
! Name !! Written In !! Secure !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Native pacman !! Shell completion !! Specificity
 +
|-
 +
! {{AUR|aurman}}
 +
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || style="text-align:center;" | bash, fish || batch interaction, fetch pgp keys, sort by popularity, [https://github.com/polygamma/aurman/wiki/Description-of-the-aurman-dependency-solving deep search]
 +
|-
 +
! {{AUR|aurutils}}
 +
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Grey|N/A}} || style="text-align:center;" | zsh || [[vifm]], [[w:PCRE|PCRE]], [[local repository]], [[package signing]], [[systemd-nspawn]] support, sort by votes/popularity
 +
|-
 +
! {{AUR|bauerbill}}
 +
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || style="text-align:center;" | bash, zsh || Trust management, ABS support, extends Powerpill
 +
|-
 +
! {{AUR|pakku}}
 +
| Nim || {{Yes}} || {{Yes}} [https://github.com/kitsunyan/pakku/commit/864cc0373fd6095295f68cc44d1657bd17269732] || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|Partial}} [https://github.com/kitsunyan/pakku/wiki/Pacman-Wrap-Explanation] || style="text-align:center;" | bash || AUR comments, batch interaction, fetch PGP keys
 +
|-
 +
! {{AUR|pikaur}}
 +
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} [https://github.com/actionless/pikaur/commit/d409b958b4ff403d4fda06681231061854d32b3c] || {{Yes}} || {{Y|Partial}} [https://github.com/actionless/pikaur/issues/81] || style="text-align:center;" | bash, fish, zsh || [http://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users], multilingual, sort by votes/popularity, batch interaction
 +
|-
 +
! {{AUR|PKGBUILDer}}
 +
| Python || {{Y|Optional}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|Partial}} [https://github.com/Kwpolska/pkgbuilder/issues/39] || {{Yes}} || {{Yes}} [https://github.com/Kwpolska/pkgbuilder/blob/master/docs/wrapper.rst] || style="text-align:center;" | None || Automatic builds by default, use {{ic|-F}} to disable; multilingual
 +
|-
 +
! {{AUR|auracle-git}}
 +
| C++ || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Yes}} || {{Grey|N/A}} || {{No}} || {{Grey|N/A}} || style="text-align:center;" | N/A ||  No automatic builds
 +
|-
 +
! {{AUR|package-query}}
 +
| C || {{Yes}} || {{Grey|N/A}} || {{No}} [https://github.com/archlinuxfr/package-query/issues/135] || {{Grey|N/A}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Grey|N/A}} || style="text-align:center;" | None || No automatic builds
 +
|-
 +
! {{AUR|repoctl}}
 +
| Go || {{Yes}} || {{Grey|N/A}} || {{Yes}} [https://github.com/goulash/pacman/blob/master/aur/aur.go] || {{Grey|N/A}} || {{Grey|N/A}} || {{No}} || {{Grey|N/A}} || style="text-align:center;" | zsh || No automatic builds, local repository support
 +
|-
 +
! {{AUR|trizen}}
 +
| Perl || {{Yes}} || {{Yes}} || {{Yes}} [https://github.com/trizen/trizen/commit/7ab7ee5f9f1f5d971b731d092fc8e1dd963add4b] || {{Yes}} || {{Yes}} [https://github.com/trizen/trizen/commit/3c94434c66ede793758f2bf7de84d68e3174e2ac] || {{Yes}} [https://github.com/trizen/trizen/commit/6fb0cc9e0ab66b8cca9493b0618ba4bab5fd2252] || {{No}} [https://github.com/trizen/trizen/commit/ba687bc3c3e306e6f3942e95f825ed6a55d3ad69] || style="text-align:center;" | bash, zsh, fish || AUR comments
 +
|-
 +
! {{AUR|yay}}
 +
| Go || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} [https://github.com/Jguer/yay/pull/297] || {{Y|Partial}} [https://github.com/Jguer/yay/commit/98ea801004fc63b5a294f46392910e85286ffd98]|| style="text-align:center;" | bash, zsh, fish || sort by votes, batch interaction, fetch PGP keys, [https://github.com/Jguer/yay/pull/260 prompt architecture]
 +
|-
 +
! {{AUR|naaman}}
 +
| Python || {{Y|Optional}}  || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{Yes}} || {{Grey|N/A}} || style="text-align:center;" | bash || Automatic builds by default, use {{ic|--fetch}} to disable
 +
|-
 +
! {{AUR|aura}}
 +
| Haskell || {{Yes}} || {{Yes}} || {{Yes}} [https://github.com/aurapm/aura/commit/7848e9830cd880215f1d12a1c0294992428ea778] || {{No}} || {{No}} [https://github.com/aurapm/aura/issues/353] || {{No}} [https://github.com/aurapm/aura/pull/346] || {{Yes}} [https://github.com/aurapm/aura/blob/master/aura/src/Aura/Pacman.hs] || style="text-align:center;" | bash, zsh || Downgrade, [[ABS]], [[powerpill]] support, multilingual, requires [[ArchHaskell]]
 +
|-
 +
|}
  
* {{App|aurifere|AUR wrapper for lazy people in Python.|https://github.com/madjar/aurifere|{{AUR|aurifere-git}}}}
+
=== Inactive ===
  
* {{App|aurinstaller|a full of bugs bash AUR helper.|https://github.com/umby213/aurinstaller|{{AUR|aurinstaller-git}}}}
+
A project is considered ''inactive'' if it fullfills '''any''' of the following criteria:
 +
* it has been discontinued by the author in favor of a different project or otherwise;
 +
* it has seen no general activity in the last 6 months;
 +
* existing issues on security and clean build have been ignored in the last 6 months.
  
* {{App|aurnotify|a tool set to notify the status of your favorite packages from AUR.|http://adesklets.sourceforge.net/desklets.html|{{AUR|aurnotify}}}}
+
{| class="wikitable sortable"
 +
! Name !! Written In !! Secure !! Clean build !! Reliable parser !! Reliable solver !! Split packages !! Git clone !! Native pacman !! Shell completion !! Specificity
 +
|-
 +
! {{AUR|pbget}}
 +
| Python || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || style="text-align:center;" | None || No automatic builds
 +
|-
 +
! {{AUR|yaah}}
 +
| Bash || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{Y|Optional}} || {{Grey|N/A}} || style="text-align:center;" | bash || No automatic builds
 +
|-
 +
! {{AUR|aurel-git}} [https://bbs.archlinux.org/viewtopic.php?pid=1522459#p1522459]
 +
| Emacs Lisp || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{No}} || {{Grey|N/A}} || style="text-align:center;" | N/A || Emacs integration, no automatic builds
 +
|-
 +
! {{AUR|cower}} [https://github.com/falconindy/auracle#what-is-auracle]
 +
| C  || {{Yes}} || {{Grey|N/A}} || {{Yes}} || {{Grey|N/A}} || {{Grey|N/A}} || {{No}} || {{Grey|N/A}}  || style="text-align:center;" | bash/zsh || No automatic builds, regex support, sort by votes/popularity
 +
|-
 +
! {{AUR|pacaur}} [https://bbs.archlinux.org/viewtopic.php?pid=1755144#p1755144]
 +
| Bash/C || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{No}} [https://github.com/rmarquis/pacaur/commit/d8f49188452785fb28afc017baadd01d9e24ba21] || style="text-align:center;" | bash, zsh || multilingual, sort by votes/popularity, batch interaction
 +
|-
 +
! {{AUR|wrapaur}}
 +
| Bash || {{Yes}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{Yes}} || {{Yes}} || style="text-align:center;" | None || Mirror updates, print news and AUR comments
 +
|-
 +
! {{AUR|spinach}}
 +
| Bash || {{Yes}} [https://github.com/floft/spinach/commit/545574700812eb369b9537370f085ec9e5c3f01a] || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Grey|N/A}} || style="text-align:center;" | None || -
 +
|-
 +
! {{AUR|aurget}}
 +
| Bash || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} [https://github.com/pbrisbin/aurget/issues/40] || {{No}} || {{Grey|N/A}} || style="text-align:center;" | bash, zsh || sort by votes
 +
|-
 +
! {{AUR|burgaur}} [https://github.com/m45t3r/burgaur/issues/7#issuecomment-365599675]
 +
| Python/C || {{Y|Optional}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}}  || {{Grey|N/A}} || style="text-align:center;" | None || Wrapper for ''cower''
 +
|-
 +
! {{AUR|packer}}
 +
| Bash || {{No}} || {{Yes}} || {{No}} || {{No}} || {{No}} || {{No}} || {{Yes}} || style="text-align:center;" | None || -
 +
|-
 +
! {{AUR|yaourt}}
 +
| 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] || {{No}} [https://lists.archlinux.org/pipermail/aur-general/2015-August/031314.html] || {{No}} || {{No}} [https://github.com/archlinuxfr/yaourt/issues/186] || {{No}} [https://github.com/archlinuxfr/yaourt/issues/85] || {{Y|Optional}} || {{No}} || style="text-align:center;" | bash, zsh, fish || Backup, ABS support, AUR comments, multilingual
 +
|-
 +
|}
  
* {{App|aurbuild|tool to download and build packages from the AUR.|http://aurbuild.berlios.de/|{{AUR|aurbuild}}}}
+
=== Workarounds ===
  
* {{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}}}}
+
{{Expansion|Include more RPC limitations (cf. [https://github.com/AladW/aurutils/issues/20]) and merge to [[AurJson]]?}}
  
* {{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}}}}
+
* [[Pacman]] 4.2. introduced architecture specific fields. [http://allanmcrae.com/2014/12/pacman-4-2-released/] [[AurJson]] merges these fields to their generic counterparts, such as {{ic|depends}} and {{ic|makedepends}}: {{Bug|48796}}. The following workarounds may be used:
 +
:– Retrieve specific fields from [[.SRCINFO]]: {{AUR|bauerbill}} [https://bbs.archlinux.org/viewtopic.php?pid=1617235#p1617235], {{AUR|pkgbuilder}} [https://github.com/Kwpolska/pkgbuilder/blob/65d9d74ef05f8996b81afb1cd005e3c337afa8b2/pkgbuilder/build.py#L198]
 +
:– Strip the {{ic|lib32-}} prefix on {{ic|i686}} systems: {{AUR|aurutils}} [https://github.com/AladW/aurutils/issues/80], {{AUR|pacaur}} [https://github.com/rmarquis/pacaur/issues/465], {{AUR|trizen}} [https://github.com/trizen/trizen/commit/6a8ff9dc8cc83af783b8475dfbe89988dbc8a553]
 +
* The RPC does not support querying versioned packages: {{Bug|54906}}. {{AUR|pacaur}} and {{AUR|aurman}} implement this manually.
  
* {{App|aurpac|light'n'fast AUR and pacman frontend|http://3ed.jogger.pl/2009/02/15/aurpac/|{{AUR|aurpac}}}}
+
== Libraries ==
  
* {{App|aurquery|caching wrapper around the AUR's RPC interface using the python3-aur modules |http://xyne.archlinux.ca/projects/python3-aur|{{AUR|python3-aur}}}}}}
+
* {{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|[[autoaur]]|script for automatic mass downloading, updating, building, and installing groups of AUR packages|https://github.com/stefanhusmann/autoaur|{{AUR|autoaur}}}}
 
  
* {{App|1=cower|2=fast and simple AUR search and download agent, which will also check for updates and download dependencies.
+
* {{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}}}}
:* [https://bbs.archlinux.org/viewtopic.php?id=97137 Forum page]|3=https://github.com/falconindy/cower|4={{AUR|cower}}}}
 
  
* {{App|meat|front-end for cower ( see above ) and it is fully written in bash
+
== Maintenance ==
:{{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
+
* {{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}}}}
:* [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 helper, using cower as backend. It aims at speed and simplicity, and is designed to minimize user prompt interaction and to use an uncluttered interface.
+
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}}
:* [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
+
* {{App|pkgbuildup|Helps AUR package maintainers automatically update PKGBUILD files. Supports a template variable syntax.|https://github.com/fasheng/pkgbuildup|{{AUR|pkgbuildup-git}}}}
:* [https://bbs.archlinux.org/viewtopic.php?id=88115 Forum page]
 
:* [https://github.com/keenerd/packer/wiki Wiki]|3=https://github.com/keenerd/packer|4={{AUR|packer}}}}
 
  
* {{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
+
* {{App|1=pkgcheck|2=Uses rules in PKGBUILDs to parse upstream version information or looks for changes by checksumming the web page|3=https://bbs.archlinux.org/viewtopic.php?id=162816|4=Repository: [https://github.com/onny/pkgcheck GitHub]}}
:* [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
+
* {{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}}}}
:* [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}}}}
+
== Uploading ==
  
* {{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}}}}
+
* [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.
 
+
* [https://github.com/JonnyJD/PKGBUILDs/blob/master/_bin/aur4_make_submodule.sh aur4_make_submodule.sh] — Replaces a package in a bigger git repository with an AUR 4 submodule, including {{ic|.SRCINFO}}.
* {{App|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://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].
:* [https://bbs.archlinux.org/viewtopic.php?id=49023 Forum page]
 
|3=http://sourceforge.net/apps/mediawiki/pkgman/index.php|4={{AUR|pkgman}}}}
 
 
 
* {{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. 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|trizen|A lightweight wrapper for AUR in Perl.|https://github.com/trizen/trizen|{{AUR|trizen}}}}
 
 
 
* {{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}}}}
 
 
 
== Others ==
 
Other useful libraries.
 
 
 
* {{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}}}}
 
 
 
* {{App|parched|pacman package and PKGBUILD parser module written in python|http://hackage.haskell.org/package/archlinux|{{AUR|parched-git}}}}
 
 
 
== See also ==
 
* [[pacman GUI Frontends]]
 

Latest revision as of 18:57, 18 April 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

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.
  • 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.
  • 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.
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 Reliable parser Reliable solver Split packages Git clone Native pacman Shell completion Specificity
aurmanAUR Python Yes Yes Yes Yes Yes Yes Yes bash, fish batch interaction, fetch pgp keys, sort by popularity, deep search
aurutilsAUR Bash/C Yes Yes Yes Yes Yes Yes N/A zsh vifm, PCRE, local repository, package signing, systemd-nspawn support, sort by votes/popularity
bauerbillAUR Python Yes Yes Yes Yes Yes Yes Yes bash, zsh Trust management, ABS support, extends Powerpill
pakkuAUR Nim Yes Yes [1] Yes Yes Yes Yes Partial [2] bash AUR comments, batch interaction, fetch PGP keys
pikaurAUR Python Yes Yes Yes Yes Yes [3] Yes Partial [4] bash, fish, zsh dynamic users, multilingual, sort by votes/popularity, batch interaction
PKGBUILDerAUR Python Optional Yes Yes Yes Partial [5] Yes Yes [6] None Automatic builds by default, use -F to disable; multilingual
auracle-gitAUR C++ Yes N/A Yes Yes N/A No N/A N/A No automatic builds
package-queryAUR C Yes N/A No [7] N/A N/A N/A N/A None No automatic builds
repoctlAUR Go Yes N/A Yes [8] N/A N/A No N/A zsh No automatic builds, local repository support
trizenAUR Perl Yes Yes Yes [9] Yes Yes [10] Yes [11] No [12] bash, zsh, fish AUR comments
yayAUR Go Yes Yes Yes Yes Yes No [13] Partial [14] bash, zsh, fish sort by votes, batch interaction, fetch PGP keys, prompt architecture
naamanAUR Python Optional Yes Yes No No Yes N/A bash Automatic builds by default, use --fetch to disable
auraAUR Haskell Yes Yes Yes [15] No No [16] No [17] Yes [18] bash, zsh Downgrade, ABS, powerpill support, multilingual, requires ArchHaskell

Inactive

A project is considered inactive if it fullfills any of the following criteria:

  • it has been discontinued by the author in favor of a different project or otherwise;
  • it has seen no general activity in the last 6 months;
  • existing issues on security and clean build have been ignored in the last 6 months.
Name Written In Secure Clean build Reliable parser Reliable solver Split packages Git clone Native pacman Shell completion Specificity
pbgetAUR Python Yes N/A Yes N/A N/A Yes N/A None No automatic builds
yaahAUR Bash Yes N/A Yes N/A N/A Optional N/A bash No automatic builds
aurel-gitAUR [19] Emacs Lisp Yes N/A Yes N/A N/A No N/A N/A Emacs integration, no automatic builds
cowerAUR [20] C Yes N/A Yes N/A N/A No N/A bash/zsh No automatic builds, regex support, sort by votes/popularity
pacaurAUR [21] Bash/C Yes Yes Yes Yes Yes Yes No [22] bash, zsh multilingual, sort by votes/popularity, batch interaction
wrapaurAUR Bash Yes Yes No No No Yes Yes None Mirror updates, print news and AUR comments
spinachAUR Bash Yes [23] Yes No No No No N/A None -
aurgetAUR Bash Optional Yes No No No [24] No N/A bash, zsh sort by votes
burgaurAUR [25] Python/C Optional Yes No No No No N/A None Wrapper for cower
packerAUR Bash No Yes No No No No Yes None -
yaourtAUR Bash/C No [26] [27] No [28] No No [29] No [30] Optional No bash, zsh, fish Backup, ABS support, AUR comments, multilingual

Workarounds

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Include more RPC limitations (cf. [31]) and merge to AurJson? (Discuss in Talk:AUR helpers#)
  • Pacman 4.2. introduced architecture specific fields. [32] AurJson merges these fields to their generic counterparts, such as depends and makedepends: FS#48796. The following workarounds may be used:
– Retrieve specific fields from .SRCINFO: bauerbillAUR [33], pkgbuilderAUR [34]
– Strip the lib32- prefix on i686 systems: aurutilsAUR [35], pacaurAUR [36], trizenAUR [37]
  • The RPC does not support querying versioned packages: FS#54906. pacaurAUR and aurmanAUR implement this manually.

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
  • pkgcheck — Uses rules in PKGBUILDs to parse upstream version information or looks for changes by checksumming the web page
https://bbs.archlinux.org/viewtopic.php?id=162816 || Repository: GitHub
  • 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