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

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: [1]
– 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 Yes bash, fish fetch pgp keys, sort by popularity
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 ABS support, 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, fish, zsh 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 [2] N/A N/A None -
repoctlAUR Go Yes Yes [3] N/A No zsh local repository support

Discontinued or problematic

This table describes projects which either are discontinued by their authors, or have issues on Security, Clean build or Native pacman (see #Active) unaddressed in the last 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 [4] 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 [5] Bash/C Yes Yes No Yes Yes Yes Yes Yes Yes bash, zsh multilingual, sort by votes/popularity
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 [6] Bash Yes Yes N/A No No No No No No None -
burgaurAUR [7] 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 [8] [9] 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