summaryrefslogtreecommitdiff
path: root/doc/install/cabal.mdwn
blob: 180208211c12c3415433b8fc3b84150ad8ae9e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
As a haskell package, git-annex can be installed using cabal. For example:

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

The above downloads the latest release and installs it into a ~/bin/
directory, which you can put in your PATH.

But maybe you want something newer (or older). Then [[download]] the version
you want, and use cabal as follows inside its source tree:

	cabal update
	cabal install --only-dependencies
	cabal configure
	cabal build
	cabal install --bindir=$HOME/bin