aura: A secure package manager for Arch Linux and the AUR, written in Haskell.

[ gpl, library, program, system ] [ Propose Tags ]

Aura is a package manager for Arch Linux written in Haskell. It connects to both the official Arch repostitories and to the AUR, allowing easy control of all packages on an Arch system. It allows all pacman operations and provides new custom ones for dealing with AUR packages. This differs from some other AUR package managers.

[Skip to Readme]
Versions [faq] 2.0.0, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.1.0, 2.2.0, 2.2.1, 2.3.0, 3.0.0, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.2.0, 3.2.1, 3.2.2 (info)
Change log
Dependencies aeson (>=1.2 && <1.5), aeson-pretty (==0.8.*), algebraic-graphs (>=0.1 && <0.5), aur (==6.3.*), aura, base (>=4.12 && <5), base-prelude (>=1.2 && <1.4), bytestring (==0.10.*), compactable (==0.1.*), containers (==0.6.*), directory (==1.3.*), errors (==2.3.*), filepath (==1.4.*), fused-effects (>=0.4 && <1.1), generic-lens (>=1.1 && <1.3), http-client (>=0.5 && <0.7), http-client-tls (==0.3.*), http-types (>=0.9 && <0.13), language-bash (==0.8.*), megaparsec (>=7 && <7.1), microlens (==0.4.*), microlens-ghc (==0.4.*), mwc-random (==0.14.*), network-uri (==2.6.*), nonempty-containers (==0.3.*), optparse-applicative (>=0.14 && <0.16), paths (==0.2.*), pretty-simple (>=2.1 && <3.3), prettyprinter (>=1.2 && <1.6), prettyprinter-ansi-terminal (==1.1.*), scheduler (>=1.1 && <1.5), semigroupoids (>=5.2 && <5.4), stm (==2.5.*), text (==1.2.*), these (==1.0.*), time (>=1.8 && <1.10), transformers (==0.5.*), typed-process (==0.2.*), unliftio (==0.2.*), versions (==3.5.*) [details]
License GPL-3.0-only
Author Colin Woodbury
Category System
Home page
Uploaded by fosskers at 2020-01-26T18:43:30Z
Distributions NixOS:3.1.9
Executables aura
Downloads 5614 total (295 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2020-01-27 [all 3 reports]


  • Aura
    • Aura.Build
    • Aura.Cache
    • Aura.Colour
    • Commands
      • Aura.Commands.A
      • Aura.Commands.B
      • Aura.Commands.C
      • Aura.Commands.L
      • Aura.Commands.O
    • Aura.Core
    • Aura.Dependencies
    • Aura.Diff
    • Aura.Install
    • Aura.Languages
      • Aura.Languages.Fields
    • Aura.Logo
    • Aura.MakePkg
    • Packages
      • Aura.Packages.AUR
      • Aura.Packages.Repository
    • Aura.Pacman
    • Pkgbuild
      • Aura.Pkgbuild.Base
      • Aura.Pkgbuild.Editing
      • Aura.Pkgbuild.Fetch
      • Aura.Pkgbuild.Records
      • Aura.Pkgbuild.Security
    • Aura.Settings
    • Aura.State
    • Aura.Types
    • Aura.Utils


Maintainer's Corner

For package maintainers and hackage trustees

Readme for aura-2.0.3

[back to package description]

Build Status Join the chat at <a href=""></a>

What is Aura?

Aura is a package manager for Arch Linux. It's main purpose is as an "AUR helper", in that it automates the process of installating packages from the Arch User Repositories. It is, however, capable of much more.

The Aura Philosophy

Aura is Pacman

Aura doesn't just mimic pacman... it is pacman. All pacman operations and their sub-options are allowed. Some even hold special meaning in Aura as well.

Arch is Arch. AUR is AUR.

-S yields pacman packages and only pacman packages. This agrees with the above. Thus in Aura, the -A operation is introduced for obtaining AUR packages. -A comes with sub-options you're used to (-u, -s, -i, etc.).

All together

Dependencies and packages are not built and installed one at a time. Install order is as follows:

  1. All pacman dependencies (all at once).
  2. All AUR dependencies (one at a time).
  3. All AUR packages (all at once).

Quiet Building

By default makepkg output is suppressed. If you want the people behind you to think you're a badass hacker, then this suppression can be disabled by using -x alongside -A.

Run as Root, Build as a User

makepkg gets very upset if you try to build a package as root. That said, a built package can't be handed off to pacman and installed if you don't run as root. Other AUR helpers ignore this problem, but Aura does not. Even when run with sudo, packages are built with normal user privileges, then handed to pacman and installed as root.

Know your System

Editing PKGBUILDs mid-build is not default behaviour. An Arch user should know exactly what they're putting into their system, thus research into prospective packages should be done beforehand. However, for functionality's sake, the option --hotedit used with -A will prompt the user for PKGBUILD editing. Regardless, as a responsible user you must know what you are building.


Built AUR package files are moved to the package cache. This allows for them to be easily downgraded when problems arise. Other top AUR helper programs do not do this. The option -B will save a package state, and -Br will restore a state you select. -Au also automatically invokes a save, to help you roll back from problematic updates.

No Orphans

Sometimes dependencies lose their required status, but remain installed on your system. Sometimes AUR package "makedepends" aren't required at all after install. Packages like this just sit there, receiving upgrades for no reason. Aura helps keep track of and remove packages like this. Learn more here.

Arch Linux for Everyone

English is well established as the world's Lingua Franca, and is also the dominant language of computing and the internet. That said, it's natural that some people are going to be more comfortable working in their native language. From the beginning Aura has been built with multiple-language support in mind, making it very easy to add new ones.


Aura is written in Haskell, which means easy development and pretty code. Please feel free to use it as a simple Haskell reference. Aura code demonstrates:

  • Parser Combinators (megaparsec)
  • CLI Flag Handling (optparse-applicative)
  • Extensible Effects (fused-effects)
  • Concurrency (async)
  • Shell Interaction (shelly)


Arch Linux

It is recommended to install the prebuilt binary of Aura:

git clone
cd aura-bin
sudo pacman -U <the-package-file-that-makepkg-produces>


You will need the stack tool for Haskell to compile Aura yourself. Then:

git clone
cd aura
stack install -- aura

This may take a while to initially build all of Aura's dependencies. Once complete, your aura binary will be available in ~/.local/bin/.

Sample Usage

Installing Packages

Install an AUR package:

aura -A (package)

Author's favourite (upgrades, removes make deps, shows PKGBUILD diffs):

aura -Akuax

Just upgrade all installed AUR packages:

aura -Au

Look up information on an AUR package:

aura -Ai (package)

Search the AUR via a regex:

aura -As (regex)

Display an AUR package's PKGBUILD:

aura -Ap (package)

Display an AUR package's dependencies (and those deps' deps too):

aura -Ad (package)

Install with makepkg output unsuppressed:

aura -Ax (package)

Install and remove make dependencies afterwards:

aura -Aa (package)

Install and show PKGBUILD differences:

aura -Ak (package)

Working with Package Records

Store a record of all installed packages:

aura -B

Restore a saved record. Rolls back, uninstalls, and reinstalls packages as necessary:

aura -Br

Working with the Package Cache

Downgrade a package (this is interactive):

aura -C (package)

Search the package cache for package files via a regex:

aura -Cs (regex)

Backup the package cache:

aura -Cb (/path/to/backup/location/)

Reduce the package cache to contain only 'x' of each package file:

aura -Cc x

Working with the Pacman Log

View the Pacman Log:

aura -L

Display install / upgrade history for a package:

aura -Li (package)

Search the pacman logfile via a regex:

aura -Ls (regex)

Working with Orphan Packages

Display orphan packages:

aura -O

Adopt an orphan package:

aura -O --adopt (package)

Uninstall all orphan packages:

aura -Oj

More information is available in aura's manpage.


As mentioned in the Philosophy above, adding new languages to Aura is quite easy. If you speak a language other than those available and would like it added to Aura, please consult

Aura is currently translated by these generous people:

| Language | Translators | |------------|-------------------------------------------------| | Chinese | Kai Zhang | | Croatian | Denis Kasak and "stranac" | | Esperanto | Zachary "Ghosy" Matthews | | French | Ma Jiehong and Fabien Dubosson | | German | Lukas Niederbremer and Jonas Platte | | Indonesian | "pak tua Greg" | | Italian | Bob Valantin | | Japanese | Colin Woodbury and Onoue Takuro | | Norwegian | "chinatsun" | | Polish | Chris Warrick | | Portuguese | Henry Kupty, Thiago Perrotta, and Wagner Amaral | | Russian | Kyrylo Silin, Alexey Kotlyarov | | Serbian | Filip Brcic | | Spanish | Alejandro Gómez and Sergio Conde | | Swedish | Fredrik Haikarainen and Daniel Beecham |