Arch Linux Install AUR Helper¶
What Is An AUR Helper?¶
Arch User Repository (AUR) is a community driven repository by Arch users. The AUR Helper automates various tasks when using AUR such as searching for packages, resolving package dependencies, retrieve packages, build packages, etc.
Warning
AUR Helpers are not supported by Arch Linux. Use at your own risk and understand the manual build process of packages.
Warning
AUR packages are user created. Use at your own risk.
Install Pikaur¶
- Install required dependencies.
# pacman -Sy --needed base-devel git
:: There are 14 members in group base-devel :: Repository 1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) flex 7) gcc 8) groff 9) libtool 10) m4 11) make 12) patch 13) pkgconf 14) textinfo Enter a selection (default=all): all
- Change to your home directory.
$ cd ~
- Download Pikaur source code.
$ git clone https://aur.archlinux.org/pikaur.git
- Change directory.
$ cd pikaur
- Build package. Parameter definitions. See makepkg man pages (man makepkg) for further details.
$ makepkg -fsri
-f Force build of package even if it already exists. -s Sync dependencies, download and install missing packages via pacman. -r Remove dependencies installed by makepkg when using -s after a successful build. -i Install or upgrade package after a successful build via pacman.
Install Paru¶
Paru is your standard pacman wrapping AUR helper with lots of features and minimal interaction written in Rust.
- Install required dependencies.
# pacman -Sy --needed base-devel git
:: There are 14 members in group base-devel :: Repository 1) autoconf 2) automake 3) binutils 4) bison 5) fakeroot 6) flex 7) gcc 8) groff 9) libtool 10) m4 11) make 12) patch 13) pkgconf 14) textinfo Enter a selection (default=all): all
- Change to your home directory.
$ cd ~
- Download Paru source code.
$ git clone https://aur.archlinux.org/paru.git
- Change directory.
$ cd paru
- Build and install package.
$ makepkg -sri
Parameter definitions[sudo] password for adam: :: There are 2 providers available for cargo: :: Repository extra 1) rust :: Repository community 2) rustup Enter a number (default=1): 1 :: Proceed with installation? [Y/n] y
-s Sync dependencies, download and install missing packages via pacman. -r Remove dependencies installed by makepkg when using -s after a successful build. -i Install or upgrade package after a successful build via pacman.