summaryrefslogtreecommitdiff
path: root/doc/install.mdwn
blob: ebd8997d4b4e917317b384e98407b5e1ff0368a1 (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**
[[Linux|linux_standalone]] | [download prebuilt linux tarball](http://downloads.kitenet.net/git-annex/linux/)
[[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, 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]].