aur icon indicating copy to clipboard operation
aur copied to clipboard

ArchLinux Package Manager helper

aur

ArchLinux Package Manager Helper

Particularly the pacman is one of the best package manager I've ever used, but having to memorize the parameters to perform operations is not mentally comfortable (-Ss WTF), I understand that with the use this becomes natural, but it bothers me.

aur helper exists to create alias for the pacman parameters (and similar software) following the pattern of the commands of other package managers.

support:

Install

Git Version:

curl -L "https://raw.githubusercontent.com/avelino/aur/master/aur" -o /usr/local/bin/aur && \
chmod +x /usr/local/bin/aur && \
aur version

Used

  • update updates all software already installed
  • search search software on arch linux database
  • install install software
  • remove remove software
  • info show software description
  • changelog show software chnagelog (all description)
  • clear clean up all traces of software installation
  • list list all softare installed
  • orphans list all orphan software installed
  • deps lists all software installation dependencies
  • install-bin install yay software
  • refresh-bin upgrade aur bin
  • refresh-keys upgrade all gpg keys, used sudo pacman-keys
  • clear-cache clear all package cache folder, ex /var/cache/pacman/pkg/, /var/lib/pacman/, /home/avelino/.cache/pacaur, ...

How to

Example of how to use aur (this software)

aur update && \
aur install yay

Removing unused packages (orphans)

For recursively removing orphans and their configuration files:

aur uninstall $(aur orphans)

Backup and recovery installed packages

How to backup installed packages to an archive and install all packages from the archive created

# backup
aur list > arch.packages

# recovery
aur install $(cat arch.packages)