2011-02-09 04:25:22 +00:00
|
|
|
## OS-specific instructions
|
|
|
|
|
|
|
|
* [[OSX]]
|
|
|
|
* [[Debian]]
|
|
|
|
* [[Ubuntu]]
|
2011-06-02 04:51:56 +00:00
|
|
|
* [[Fedora]]
|
2011-06-26 23:00:46 +00:00
|
|
|
* [[FreeBSD]]
|
2011-12-24 00:13:43 +00:00
|
|
|
* [[openSUSE]]
|
2012-01-02 17:44:12 +00:00
|
|
|
* [[ArchLinux]]
|
2012-01-13 18:49:56 +00:00
|
|
|
* [[NixOS]]
|
2012-05-02 17:18:21 +00:00
|
|
|
* [[Gentoo]]
|
2012-06-15 19:06:45 +00:00
|
|
|
* [[ScientificLinux5]] - This should cover RHEL5 clones such as CentOS5 and so on
|
2012-07-24 15:15:39 +00:00
|
|
|
* Windows: [[sorry, not possible yet|todo/windows_support]]
|
2011-02-09 04:25:22 +00:00
|
|
|
|
2011-07-02 21:29:20 +00:00
|
|
|
## Using cabal
|
|
|
|
|
2011-09-25 18:26:05 +00:00
|
|
|
As a haskell package, git-annex can be installed using cabal. For example:
|
2011-07-02 21:29:20 +00:00
|
|
|
|
|
|
|
cabal install git-annex --bindir=$HOME/bin
|
|
|
|
|
2012-04-13 15:15:27 +00:00
|
|
|
The above downloads the latest release. Alternatively, you can [[download]]
|
|
|
|
it yourself and [[manually_build_with_cabal|install/cabal]].
|
|
|
|
|
2011-07-02 21:29:20 +00:00
|
|
|
## Installation by hand
|
2011-02-09 04:25:22 +00:00
|
|
|
|
2010-10-19 20:32:50 +00:00
|
|
|
To build and use git-annex, you will need:
|
|
|
|
|
2011-06-02 05:01:14 +00:00
|
|
|
* Haskell stuff
|
2012-02-04 18:44:03 +00:00
|
|
|
* [The Haskell Platform](http://haskell.org/platform/) (GHC 7.4 or newer)
|
2011-06-02 05:01:59 +00:00
|
|
|
* [MissingH](http://github.com/jgoerzen/missingh/wiki)
|
2011-06-02 05:01:14 +00:00
|
|
|
* [pcre-light](http://hackage.haskell.org/package/pcre-light)
|
|
|
|
* [utf8-string](http://hackage.haskell.org/package/utf8-string)
|
2011-06-02 05:01:59 +00:00
|
|
|
* [SHA](http://hackage.haskell.org/package/SHA)
|
|
|
|
* [dataenc](http://hackage.haskell.org/package/dataenc)
|
2011-07-07 23:10:42 +00:00
|
|
|
* [monad-control](http://hackage.haskell.org/package/monad-control)
|
2011-12-31 00:06:15 +00:00
|
|
|
* [lifted-base](http://hackage.haskell.org/package/lifted-base)
|
2011-06-02 05:01:14 +00:00
|
|
|
* [TestPack](http://hackage.haskell.org/cgi-bin/hackage-scripts/package/testpack)
|
|
|
|
* [QuickCheck 2](http://hackage.haskell.org/package/QuickCheck)
|
2011-07-04 23:31:45 +00:00
|
|
|
* [HTTP](http://hackage.haskell.org/package/HTTP)
|
2011-09-01 19:16:31 +00:00
|
|
|
* [json](http://hackage.haskell.org/package/json)
|
2012-01-24 19:28:13 +00:00
|
|
|
* [IfElse](http://hackage.haskell.org/package/IfElse)
|
2012-03-12 20:18:14 +00:00
|
|
|
* [bloomfilter](http://hackage.haskell.org/package/bloomfilter)
|
2012-04-12 19:34:41 +00:00
|
|
|
* [edit-distance](http://hackage.haskell.org/package/edit-distance)
|
2012-06-26 13:15:47 +00:00
|
|
|
* [hS3](http://hackage.haskell.org/package/hS3) (optional)
|
2012-06-10 20:49:36 +00:00
|
|
|
* [stm](http://hackage.haskell.org/package/stm)
|
2012-06-26 13:15:47 +00:00
|
|
|
(optional; version 2.3 or newer)
|
2012-06-17 21:15:56 +00:00
|
|
|
* [hinotify](http://hackage.haskell.org/package/hinotify)
|
|
|
|
(optional; Linux only)
|
2011-06-02 05:02:57 +00:00
|
|
|
* Shell commands
|
|
|
|
* [git](http://git-scm.com/)
|
|
|
|
* [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/)
|
2011-08-27 16:31:50 +00:00
|
|
|
* [wget](http://www.gnu.org/software/wget/) or [curl](http://http://curl.haxx.se/) (optional, but recommended)
|
2011-06-02 05:02:57 +00:00
|
|
|
* [sha1sum](ftp://ftp.gnu.org/gnu/coreutils/) (optional, but recommended;
|
|
|
|
a sha1 command will also do)
|
|
|
|
* [gpg](http://gnupg.org/) (optional; needed for encryption)
|
2012-06-16 03:24:01 +00:00
|
|
|
* [lsof](ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/)
|
2012-06-16 06:49:26 +00:00
|
|
|
(optional; recommended for watch mode)
|
2011-06-02 05:02:57 +00:00
|
|
|
* [ikiwiki](http://ikiwiki.info) (optional; used to build the docs)
|
2010-10-29 17:59:48 +00:00
|
|
|
|
2011-03-30 05:32:05 +00:00
|
|
|
Then just [[download]] git-annex and run: `make; make install`
|