'''Aura''' is a multilingual package manager for Arch Linux written in [[Wikipedia:Haskell|Haskell]]. It connects to both the official [[ABS]] repositories and to the [[Arch User Repository]], 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 helpers]].

+

'''Aura''' is a multilingual package manager for Arch Linux written in [[Wikipedia:Haskell (programming language)|Haskell]]. It connects to both the official [[ABS]] repositories and to the [[Arch User Repository]], 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 helpers]].

==Philosophy==

==Philosophy==

−

Aura's philosophy as a package manager can be view in more detail [https://github.com/fosskers/aura/blob/master/README.md here]. The main points are summarized below.

+

Aura's philosophy as a package manager can be viewed in more detail [https://github.com/fosskers/aura/blob/master/README.md here]. The main points are summarized below.

* '''Aura is Pacman''' - All [[pacman]] operators and their sub-options are allowed.

* '''Aura is Pacman''' - All [[pacman]] operators and their sub-options are allowed.

* '''ABS and AUR are separate''' - New aura-only operators are introduced for handling [[AUR]] packages.

* '''ABS and AUR are separate''' - New aura-only operators are introduced for handling [[AUR]] packages.

Line 15:

Line 15:

==Installation==

==Installation==

−

{{Note|A number of Aura's dependencies can be found in the {{ic|[haskell]}} repository. These tend to be more recent than those in {{ic|[extra]}} and the AUR. Naturally, installing them this way is faster than building manually from the AUR. [https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D See here] on how to add {{ic|[haskell]}} as a repository.}}

+

{{Note|All of Aura's dependencies can be found in the {{ic|[haskell-core]}} repository. These tend to be more recent than those in {{ic|[extra]}}, {{ic|[community}}, and the AUR. Naturally, installing them this way is faster than building manually from the AUR. [https://wiki.archlinux.org/index.php/Haskell_Package_Guidelines#.5Bhaskell.5D See here] on how to add {{ic|[haskell-core]}} as a repository.}}

While a ~700mB dependency is a big one, ghc is nothing but a build dependency for aura. It is not needed post-installation. Feel free to uninstall it (and any other orphans) with {{ic|aura -Oj}}.

+

There is a pre-built binary version of aura available as the {{AUR|aura-bin}} package in the AUR. No Haskell dependencies required.

+

+

===Build failing at configuration step===

+

If you get the following:

+

{{bc|Configuring aura-1.x.x.x...

+

Setup: At least the following dependencies are missing:

+

curl -any, regex-pcre -any}}

+

Then you need to rebuild these two AUR packages, or install them 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.

+

+

===Searching both Repos and AUR simultaneously===

+

If you want to search the official repositories and the AUR with one command you can do that with a simple bash function. Put the following in your ~/.bashrc:

Revision as of 23:07, 14 September 2013

Aura is a multilingual package manager for Arch Linux written in Haskell. It connects to both the official ABS repositories and to the Arch User Repository, 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 helpers.

Philosophy

Aura's philosophy as a package manager can be viewed in more detail here. The main points are summarized below.

Aura is Pacman - All pacman operators and their sub-options are allowed.

ABS and AUR are separate - New aura-only operators are introduced for handling AUR packages.

Quiet Building - Makepkg output is suppressed by default. Unsuppress by using -x alongside -A.

Run as Root, Build as a User - Running makepkg as root or with sudo is dangerous. Aura builds packages with normal user privileges, even when run with sudo.

Know your System - Editing PKGBUILDs mid-build is not default behaviour. All package research should be done prior to building.

Downgradibility - Aura caches built package files, so they can be managed like any ABS package would. This includes downgrading with -C.

No Orphans - Aura provides several options for dealing with orphaned dependencies.

Multilingual - Aura provides multiple output languages.

Installation

Note: All of Aura's dependencies can be found in the [haskell-core] repository. These tend to be more recent than those in [extra], [community, and the AUR. Naturally, installing them this way is faster than building manually from the AUR. See here on how to add [haskell-core] as a repository.

Build failing at configuration step

Then you need to rebuild these two AUR packages, or install them 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.

Searching both Repos and AUR simultaneously

If you want to search the official repositories and the AUR with one command you can do that with a simple bash function. Put the following in your ~/.bashrc: