git-annex/doc/install/ArchLinux.mdwn

22 lines
1.2 KiB
Text
Raw Normal View History

2016-01-19 20:13:33 +00:00
There is now an [official git-annex package for Arch](https://www.archlinux.org/packages/community/x86_64/git-annex/), so to install it:
pacman -S git-annex
2018-03-29 21:51:12 +00:00
There are at least three non non-official packages for git-annex in the Arch Linux User Repository. Any of these may be installed manually per [AUR guidelines](https://wiki.archlinux.org/index.php/AUR_User_Guidelines#Installing_packages) or using a wrapper such as [`yaourt`](https://wiki.archlinux.org/index.php/yaourt) shown below.
2018-03-29 21:51:12 +00:00
1. A git-annex package is available in the haskell-core AUR <https://wiki.archlinux.org/index.php/ArchHaskell>
2018-03-29 21:51:12 +00:00
2. A development package is available at [git-annex-git](https://aur.archlinux.org/packages/git-annex-git/) that functions similarly to the source package but builds directly from the HEAD of the git repository rather that the last official release.
$ yaourt -Sy git-annex-git
2018-03-29 21:51:12 +00:00
3. A Cabal sandbox build is also available
2014-10-28 11:14:58 +00:00
$ yaourt -Sy git-annex-cabal
Finally you may choose to forgo the Arch Linux package system entirely and install git-annex directly through cabal.
$ pacman -S git rsync curl wget gnupg openssh cabal-install
$ cabal update
$ cabal install git-annex --bindir=$HOME/bin