2012-04-13 15:15:27 +00:00
|
|
|
As a haskell package, git-annex can be installed using cabal. For example:
|
|
|
|
|
|
|
|
cabal update
|
2012-12-09 15:51:45 +00:00
|
|
|
PATH=$HOME/bin:$PATH
|
|
|
|
cabal install c2hs git-annex --bindir=$HOME/bin
|
2012-04-13 15:15:27 +00:00
|
|
|
|
|
|
|
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
|
2012-12-09 15:51:45 +00:00
|
|
|
PATH=$HOME/bin:$PATH
|
2012-11-28 18:03:35 +00:00
|
|
|
cabal install c2hs --bindir=$HOME/bin
|
2012-04-13 15:37:49 +00:00
|
|
|
cabal install --only-dependencies
|
2012-04-13 15:15:27 +00:00
|
|
|
cabal configure
|
|
|
|
cabal build
|
|
|
|
cabal install --bindir=$HOME/bin
|