User:Svito/AUR helpers

From ArchWiki
Jump to navigation Jump to search
Comment: Draft for AUR helpers before before Special:Diff/557837.
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

Explanations for common features found in AUR helpers:

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 inspection
Prompts for inspection of package files or their differences before the build process.
Upgrade summary
When used as replacement for pacman, prints summary of package upgrades before the build process.
Handle conflicts
When used as replacement for pacman, can solve conflicts between packages before the build process.
Shell completion
Tab completion is available for the listed shells.

Search and download

  • auracle — Written in C++. Features: file review, git clone, reliable parser, reliable solver, bash completion, print build order.
https://github.com/falconindy/auracle || auracle-gitAUR
  • aurelEmacs package. Discontinued. Features: file review, reliable parser. No git clone support.
https://github.com/cassava/repoctl || aurelAUR
  • cower — Written in C. Discontinued. Features: file review, reliable parser, bash/zsh completion, regex support, sort by votes/popularity. No git clone support.
https://github.com/cassava/repoctl || cowerAUR
  • pbget — Written in Python. Features: file review, git clone, reliable parser, ABS support.
https://xyne.archlinux.ca/projects/pbget/ || pbgetAUR
  • repoctl — Local repository manager written in Go. Features: file review, reliable parser, zsh completion. No git clone support.
https://github.com/cassava/repoctl || repoctlAUR
  • yaah — Written in Bash. Features: file review, reliable parser, bash completion. Optional git clone.
https://projects.metalgamer.eu/yaah || yaahAUR

Download and build

  • aurutils — Written in Bash/C. Features: file review, diff view, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, zsh completion, vifm, local repository, package signing, clean chroot support, sort by votes/popularity.
https://github.com/AladW/aurutils || aurutilsAUR
  • bauerbill — Written in Python. Features: file review, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, bash/zsh completion, trust management, ABS support. Extends powerpill, use bb-wrapper for pacman wrapping. No diff view support.
https://xyne.archlinux.ca/projects/bauerbill/ || bauerbillAUR
  • rua — Written in Rust. Features: file review, git clone, reliable parser, reliable solver, split packages, clean build, batch inspection, bash/fish/zsh completion, tar artifact inspections (SUID, install file etc), isolated build, offline build. No diff view support.
https://github.com/vn971/rua || ruaAUR
https://github.com/Kwpolska/pkgbuilder || pkgbuilderAUR


Name Written in File review Diff view Git clone Reliable parser Reliable solver Split packages Clean build Batch interaction Shell completion Specificity
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