Aura
Aura is a multilingual package manager for Arch Linux written in Haskell. It connects to both the ABS and Arch User Repository. Aura caches built package files, so they can be managed like any ABS package would. This includes downgrading with -C
.
See the README and documentation for general information.
Contents
Installation
Binary Package
The easiest way to install aura without having to worry about Haskell dependencies is via the prebuilt AUR binary package: aura-binAUR.
Source Package
The auraAUR source package requires Haskell packages which may be not available in the official repositories or AUR. All of Aura's dependencies are however available in the haskell-core repository. See ArchHaskell#haskell-core on how to add haskell-core as a repository.
Tips and tricks
Auto-prompt for sudo
Aura will not prompt for elevated privileges by default. If you'd like it do so (like some other AUR helpers) you can write a wrapper script to re-try aura with sudo when needed. The following creates a function a
that wraps aura
:
function a(){ AURA="$(aura "$@")" if echo "$AURA" | grep -q '^aura >>= .*You have to use `.*sudo.*` for that.*$' then sudo aura "$@" else echo "$AURA" fi }
Either add this function to your corresponding rc/profile or as a stand-alone script on your PATH.
Troubleshooting
See GitHub issues for known problems.
Build failing at configuration step
If you get the following:
Configuring aura-1.x.x.x... Setup: At least the following dependencies are missing: regex-pcre-builtin -any
Then you need to rebuild the haskell-regex-pcre-builtin AUR package, or install it out of [haskell-core]. This usually occurs after ghc upgrades, and has to do with ghc and all the haskell libraries being linked by special hash values for security purposes.