summaryrefslogtreecommitdiff
path: root/doc/install.mdwn
blob: 8392e98af20bda2219a7eaff4c884068ab0d9a7a (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
32
33
34
## Pick your OS

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

[[!table format=dsv header=no data="""
[[OSX]]              | [download git-annex.app](http://downloads.kitenet.net/git-annex/OSX/git-annex.dmg.bz2) **beta**
[[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]]         | 
[[other Linux|linux_standalone]] | get your precompiled tarballs here
Windows              | [[sorry, Windows not supported 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]].