AUR helpers

From ArchWiki
Jump to: navigation, search
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
yayAUR Go Yes Yes Yes Yes Yes Yes [5] Partial [6] bash, zsh, fish sort by votes, batch interaction, fetch PGP keys, prompt architecture
PKGBUILDerAUR Python Optional Yes Yes Yes Partial [7] Yes Yes [8] 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 [9] N/A N/A N/A N/A None No automatic builds
repoctlAUR Go Yes N/A Yes [10] N/A N/A No N/A zsh No automatic builds, local repository support
trizenAUR Perl Yes Yes Yes [11] Yes Yes [12] Yes [13] No [14] bash, zsh, fish AUR comments
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