AUR helpers: Difference between revisions
(→Graphical: Pamac: mention tray app, more userfriendly URL) |
Tag: Undo |
||
(36 intermediate revisions by 15 users not shown) | |||
Line 6: | Line 6: | ||
[[pt:AUR helpers]] | [[pt:AUR helpers]] | ||
[[ru:AUR helpers]] | [[ru:AUR helpers]] | ||
[[zh-hans:AUR | [[zh-hans:AUR 助手]] | ||
{{Warning|1=AUR helpers are '''not supported''' by Arch Linux. You should become familiar with the [[Arch User Repository#Installing and upgrading packages|manual build process]] in order to be prepared to troubleshoot problems.}} | {{Warning|1=AUR helpers are '''not supported''' by Arch Linux. You should become familiar with the [[Arch User Repository#Installing and upgrading packages|manual build process]] in order to be prepared to troubleshoot problems.}} | ||
{{Note|Please use the discussion page to | {{Note|Please use the discussion page prior to making edits to this article: [[Talk:AUR helpers]].}} | ||
AUR helpers automate usage of the [[Arch User Repository]]. In particular, they may automate the following tasks: | AUR helpers automate usage of the [[Arch User Repository]]. In particular, they may automate the following tasks: | ||
Line 21: | Line 21: | ||
== Legend == | == Legend == | ||
The [[#Comparison tables]] columns have the following meaning: | The [[#Comparison tables]] columns have the following meaning: | ||
Line 30: | Line 31: | ||
;Split packages: Ability to correctly build and install: | ;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}}. | :* 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| | :* Split packages which depend on a package from the same package base, such as {{AUR|samsung-unified-driver}}. | ||
:* Split packages independently, such as {{AUR| | :* Split packages independently, such as {{AUR|nxproxy}} and {{AUR|nxagent}}. | ||
;Shell completion: [[w:Command-line_completion|Tab completion]] is available for the listed [[shell]]s. | ;Shell completion: [[w:Command-line_completion|Tab completion]] is available for the listed [[shell]]s. | ||
{{Note| | {{Note| | ||
* ''Optional'' means that a feature is available, but only through a command-line argument or configuration option. | * ''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 partially deviates from the given criteria.}} | * ''Partial'' means that a feature is not fully implemented, or that it partially deviates from the given criteria. | ||
}} | |||
== Comparison tables == | == Comparison tables == | ||
Line 52: | Line 54: | ||
|- | |- | ||
! {{AUR|repoctl}} | ! {{AUR|repoctl}} | ||
| Go || {{Yes}} || {{No}} || {{No}} || {{Yes|https://github.com/goulash/pacman/blob/master/aur/aur.go}} || {{-}} || zsh || {{L|[[local repository]]}} | | Go || {{Yes}} || {{No}} || {{No}} || {{Yes|https://github.com/goulash/pacman/blob/master/aur/aur.go}} || {{-}} || bash, zsh, fish || {{L|[[local repository]]}} | ||
|- | |- | ||
! {{AUR|yaah}} | ! {{AUR|yaah}} | ||
Line 80: | Line 82: | ||
{{Warning|{{man|8|pacman}} wrappers abstract the work of the package manager. They may (optionally or by default) introduce [[System maintenance#Avoid certain pacman commands|unsafe flags]], or other unexpected behavior leading to a defective system.}} | {{Warning|{{man|8|pacman}} wrappers abstract the work of the package manager. They may (optionally or by default) introduce [[System maintenance#Avoid certain pacman commands|unsafe flags]], or other unexpected behavior leading to a defective system.}} | ||
{{Note|The following pacman wrappers support batch (rather than on-demand) operations: {{AUR|pacaur}}, {{AUR|pikaur}}, {{AUR|yay}}, {{AUR|aura}}, {{AUR|paru}} | {{Note|The following pacman wrappers support batch (rather than on-demand) operations: {{AUR|pacaur}}, {{AUR|pikaur}}, {{AUR|yay}}, {{AUR|aura}}, {{AUR|paru}}, {{AUR|aurman}} | ||
}} | }} | ||
Line 88: | Line 90: | ||
! {{AUR|aura}} | ! {{AUR|aura}} | ||
| Haskell || {{No}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || {{Yes|https://github.com/fosskers/aura/commit/ca9c38d}} || {{Yes|https://github.com/aurapm/aura/commit/7848e98}} || {{Yes|https://github.com/fosskers/aura/pull/479}} || {{Yes|https://github.com/fosskers/aura/pull/479}} || {{-}} || bash, fish, zsh || {{-}} | | Haskell || {{No}} || {{Y|[https://github.com/aurapm/aura/blob/89bf702/aura/src/Aura/Pkgbuild/Records.hs Partial]}} || {{Yes|https://github.com/fosskers/aura/commit/ca9c38d}} || {{Yes|https://github.com/aurapm/aura/commit/7848e98}} || {{Yes|https://github.com/fosskers/aura/pull/479}} || {{Yes|https://github.com/fosskers/aura/pull/479}} || {{-}} || bash, fish, zsh || {{-}} | ||
|- | |||
! {{AUR|aurman}} | |||
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/polygamma/aurman/issues/259 Partial]}} || {{Yes}} || {{R|[https://github.com/polygamma/aurman/commit/6c02ba3 -Sy]<br>[https://github.com/polygamma/aurman#make-use-of-the-undocumented---ask-flag-of-pacman --ask]}} || bash, fish || {{L|fetch PGP keys}} | |||
|- | |- | ||
! {{AUR|pacaur}} | ! {{AUR|pacaur}} | ||
| Bash || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/ | | Bash || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Y|[https://github.com/E5ten/pacaur/commit/12707cc --ask]}} || bash, zsh || {{-}} | ||
|- | |- | ||
! {{AUR|pakku}} | ! {{AUR|pakku}} | ||
Line 99: | Line 104: | ||
|- | |- | ||
! {{AUR|pikaur}} | ! {{AUR|pikaur}} | ||
| Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{R|[https://github.com/actionless/pikaur#pikaur -Sy]}} || bash, fish, zsh || {{L|[ | | Python || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{Yes}} || {{R|[https://github.com/actionless/pikaur#pikaur -Sy]}} || bash, fish, zsh || {{L|[https://0pointer.net/blog/dynamic-users-with-systemd.html dynamic users]}} | ||
|- | |- | ||
! {{AUR|trizen}} | ! {{AUR|trizen}} | ||
Line 105: | Line 110: | ||
|- | |- | ||
! {{AUR|yay}} | ! {{AUR|yay}} | ||
| Go || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/447}} || {{Yes|https://github.com/Jguer/yay/pull/297}} || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/866}} || {{Yes}} || {{ | | Go || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/447}} || {{Yes|https://github.com/Jguer/yay/pull/297}} || {{Yes}} || {{Yes|https://github.com/Jguer/yay/pull/866}} || {{Yes}} || {{Y|[https://github.com/Jguer/yay/commit/ea5a94e --ask]}} || bash, fish, zsh || {{-}} | ||
|} | |} | ||
Line 116: | Line 121: | ||
* {{App|Octopi|Qt 5 pacman wrapper written in C++.|https://tintaescura.com/projects/octopi|{{AUR|octopi}}}} | * {{App|Octopi|Qt 5 pacman wrapper written in C++.|https://tintaescura.com/projects/octopi|{{AUR|octopi}}}} | ||
* {{App|Pacseek|A terminal user interface for searching and installing Arch Linux packages.|https://github.com/moson-mo/pacseek|{{AUR|pacseek}}}} | * {{App|Pacseek|A terminal user interface for searching and installing Arch Linux packages.|https://github.com/moson-mo/pacseek|{{AUR|pacseek}}}} | ||
* {{App|Pamac|Standalone GTK | * {{App|Pamac|Standalone GTK 4 (or terminal) package manager written for Manjaro using {{man|3|libalpm}}. Has a tray app. Can also be used with command line interface.|https://wiki.manjaro.org/index.php/Pamac|{{AUR|pamac-aur}}}} | ||
* {{App|Pakku GUI|GTK 3 frontend for pakku written in Python.|https://gitlab.com/mrvik/pakku-gui|{{AUR|pakku-gui}}}} | * {{App|Pakku GUI|GTK 3 frontend for pakku written in Python.|https://gitlab.com/mrvik/pakku-gui|{{AUR|pakku-gui}}}} | ||
* {{App|PkgBrowser|Qt 5 read-only browser for repository packages and AUR written in Python.|https://osdn.net/projects/pkgbrowser/|{{AUR|pkgbrowser}}}} | * {{App|PkgBrowser|Qt 5 read-only browser for repository packages and AUR written in Python.|https://osdn.net/projects/pkgbrowser/|{{AUR|pkgbrowser}}}} | ||
Line 128: | Line 133: | ||
* {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}} | * {{App|pkgbuild-watch|Looks for changes on the upstream web pages.|http://kmkeen.com/pkgbuild-watch|{{AUR|pkgbuild-watch}}}} | ||
* {{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|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|repman|Command line tool to manage local and remote repositories.|https://gitlab.com/mipimipi/repman|{{AUR|repman-git}}}} | |||
== Other == | == Other == |
Latest revision as of 20:51, 21 April 2024
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 prior to making edits to this article: Talk:AUR helpers.
AUR helpers automate usage of the Arch User Repository. In particular, they may automate the following tasks:
- searching for packages published on the AUR;
- resolving of dependencies between AUR packages;
- retrieve and build AUR packages;
- retrieve web content, such as user comments;
- submission of AUR packages.
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 a package may be required when its shared library dependencies are updated, not only when the package itself is updated.
Legend
The #Comparison tables columns have the following meaning:
- 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.
- 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-melodic-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 samsung-unified-driverAUR.
- Split packages independently, such as nxproxyAUR and nxagentAUR.
- Shell completion
- Tab completion is available for the listed shells.
Note:
- 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 partially deviates from the given criteria.
Comparison tables
Search and download
Name | Written in | File review | Diff view | Git clone | Reliable parser | Reliable solver | Shell completion | Specificity |
---|---|---|---|---|---|---|---|---|
auracle-gitAUR | C++ | Yes | No | Yes | Yes | Yes | bash | print build order |
pbgetAUR | Python | Yes | No | Yes | Yes | – | – | – |
repoctlAUR | Go | Yes | No | No | Yes | – | bash, zsh, fish | local repository |
yaahAUR | Bash | Yes | No | Optional | Yes | – | bash | – |
Search and build
Name | Written in | File review | Diff view | Git clone | Reliable parser | Reliable solver | Split packages | Shell completion | Specificity |
---|---|---|---|---|---|---|---|---|---|
aurutilsAUR | Bash | Yes | Yes | Yes | Yes | Yes | Yes | bash, zsh | local repository, local patch application, package signing, clean chroot |
bauerbillAUR | Python | Yes | No | Yes | Yes | Yes | Yes | bash, zsh | bb-wrapper for pacman wrapping, trust management
|
PKGBUILDerAUR | Python | No | No | Yes | Yes | Yes | Partial | – | pb for pacman wrapping
|
ruaAUR | Rust | Yes | Yes | Yes | Yes | Yes | Yes | bash, zsh, fish | local patch application, bubblewrap, .pkg.tar inspection
|
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.
Note: The following pacman wrappers support batch (rather than on-demand) operations: pacaurAUR, pikaurAUR, yayAUR, auraAUR, paruAUR, aurmanAUR
Name | Written in | File review | Diff view | Git clone | Reliable parser | Reliable solver | Split packages | Unsafe flags | Shell completion | Specificity |
---|---|---|---|---|---|---|---|---|---|---|
auraAUR | Haskell | No | Partial | Yes | Yes | Yes | Yes | – | bash, fish, zsh | – |
aurmanAUR | Python | Yes | Yes | Yes | Yes | Partial | Yes | -Sy --ask |
bash, fish | fetch PGP keys |
pacaurAUR | Bash | Yes | Yes | Yes | Yes | Yes | Yes | --ask | bash, zsh | – |
pakkuAUR | Nim | Yes | Yes | Yes | Yes | Yes | Yes | -Sy | bash, zsh | – |
paruAUR | Rust | Yes | Yes | Yes | Yes | Yes | Yes | -Sy --ask |
bash, fish, zsh | local repository, clean chroot |
pikaurAUR | Python | Yes | Yes | Yes | Yes | Yes | Yes | -Sy | bash, fish, zsh | dynamic users |
trizenAUR | Perl | Yes | Yes | Yes | Yes | Yes | Partial | – | bash, fish, zsh | – |
yayAUR | Go | Yes | Yes | Yes | Yes | Yes | Yes | --ask | bash, fish, zsh | – |
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.
- Cylon — TUI pacman wrapper written in Bash.
- Kalu — Systray notification icon using libalpm and PolicyKit, with optional updater
- Octopi — Qt 5 pacman wrapper written in C++.
- Pacseek — A terminal user interface for searching and installing Arch Linux packages.
- Pamac — Standalone GTK 4 (or terminal) package manager written for Manjaro using libalpm(3). Has a tray app. Can also be used with command line interface.
- Pakku GUI — GTK 3 frontend for pakku written in Python.
- PkgBrowser — Qt 5 read-only browser for repository packages and AUR written in Python.
- Yup — Curses TUI pacman wrapper written in Go.
Maintenance
- aur-out-of-date — Uses hoster APIs to check AUR packages for upstream changes.
- 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.
- devtools — Build packages in a clean environment (systemd-nspawn container) to ensure their correctness. Wrapped by aurutilsAUR, clean-chroot-managerAUR and paruAUR.
- pkgbuild-watch — Looks for changes on the upstream web pages.
- 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.
- repman — Command line tool to manage local and remote repositories.
Other
- aur-talk — Fetch and display AUR comments.
- aurvote-utils — A set of utilities for managing AUR votes.
- haskell-aur — Haskell library for accessing Aurweb RPC interface.
- package-query — Tool for querying libalpm(3) and the AUR.
- python3-aur — Python 3 modules and helper utilities for accessing AUR package information and automating AUR interactions.
- raur — Rust library for accessing Aurweb RPC interface.