summaryrefslogtreecommitdiff
path: root/doc/install.mdwn
blob: cd05178cceadc30d5d091efba01e51bc51bb14c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## OS-specific instructions

Quick commands given where possible, but see the individual pages for
details.

* [[OSX]]
* [[Debian]] `apt-get install git-annex`
* [[Ubuntu]] `apt-get install git-annex`
* [[FreeBSD]] `pkg_add -r hs-git-annex`
* [[ArchLinux]] `yaourt -Sy git-annex`
* [[NixOS]] `nix-env -i git-annex`
* [[Gentoo]] `emerge git-annex`
* [[ScientificLinux5]] (and other RHEL5 clones like CentOS5)
* [[Fedora]]
* [[openSUSE]]
* Windows: [[sorry, not possible yet|todo/windows_support]]

## Using cabal

As a haskell package, git-annex can be installed using cabal.
Start by installing the [Haskell Platform](http://hackage.haskell.org/platform/),
and then:

	cabal install git-annex --bindir=$HOME/bin

That installs the latest release. Alternatively, you can [[download]]
git-annex yourself and [[manually_build_with_cabal|install/cabal]].

## Installation from scratch

This is not recommended, but if you really want to, see [[fromscratch]].