Skip to content

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

  1. 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
    
  2. Change to your home directory.
    $ cd ~
    
  3. Download Pikaur source code.
    $ git clone https://aur.archlinux.org/pikaur.git
    
  4. Change directory.
    $ cd pikaur
    
  5. Build package.
    $ makepkg -fsri
    
    Parameter definitions. See makepkg man pages (man makepkg) for further details.
    -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.

  1. 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
    
  2. Change to your home directory.
    $ cd ~
    
  3. Download Paru source code.
    $ git clone https://aur.archlinux.org/paru.git
    
  4. Change directory.
    $ cd paru
    
  5. Build and install package.
    $ makepkg -sri
    
    [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
    
    Parameter definitions
    -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.