move manual cabal install into its own page, and simplify it

This commit is contained in:
Joey Hess 2012-04-13 11:15:27 -04:00
parent cc70792772
commit 64c0093347
2 changed files with 18 additions and 11 deletions

15
doc/install/cabal.mdwn Normal file
View file

@ -0,0 +1,15 @@
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 configure
cabal build
cabal install --bindir=$HOME/bin