git-annex/doc/install.mdwn
Joey Hess 9c96d86502 nasty hack to build when hS3 is not available
So, it would be nicer to just use Cabal and take advantage
of its conditional compilation support. But, Cabal seems to
lack good support for a package with an internal library that is used by
multiple executables. It wants to build everything twice or more.
That's too slow for me.

Anyway, fairly soon, I expect to upgrade hS3 to a requirment, and I
can just revert this.
2011-03-30 01:32:05 -04:00

31 lines
1.2 KiB
Markdown

## OS-specific instructions
* [[OSX]]
* [[Debian]]
* [[Ubuntu]]
## Generic instructions
To build and use git-annex, you will need:
* `git`: <http://git-scm.com/>
* The Haskell Platform: <http://haskell.org/platform/>
* MissingH: <http://github.com/jgoerzen/missingh/wiki>
* pcre-light: <http://hackage.haskell.org/package/pcre-light>
* utf8-string: <http://hackage.haskell.org/package/utf8-string>
* hS3 <http://hackage.haskell.org/package/hS3> (optional, but recommended)
* `uuid`: <http://www.ossp.org/pkg/lib/uuid/>
(or uuidgen from util-linux)
* `xargs`: <http://savannah.gnu.org/projects/findutils/>
* `rsync`: <http://rsync.samba.org/>
* `curl` : <http://http://curl.haxx.se/> (optional, but recommended)
* `sha1sum`: <ftp://ftp.gnu.org/gnu/coreutils/> (optional, but recommended)
* [Ikiwiki](http://ikiwiki.info) is needed to build the documentation,
but that will be skipped if it is not installed.
Then just [[download]] git-annex and run: `make; make install`
Additionally, to run the test suite (via `make test`), you will need:
* `TestPack` <http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack>
* `QuickCheck` 2 <http://hackage.haskell.org/package/QuickCheck>