git-annex/doc/install.mdwn

82 lines
3.7 KiB
Text
Raw Normal View History

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]]
* [[openSUSE]]
2012-01-02 17:44:12 +00:00
* [[ArchLinux]]
* [[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
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
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
2012-07-26 09:13:27 +00:00
This is not recommended, it's easier to let cabal pull in the many haskell
libraries. To build and use git-annex by hand, you will need:
2010-10-19 20:32:50 +00:00
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)
* [monad-control](http://hackage.haskell.org/package/monad-control)
* [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)
* [HTTP](http://hackage.haskell.org/package/HTTP)
* [json](http://hackage.haskell.org/package/json)
* [IfElse](http://hackage.haskell.org/package/IfElse)
* [bloomfilter](http://hackage.haskell.org/package/bloomfilter)
* [edit-distance](http://hackage.haskell.org/package/edit-distance)
* [hS3](http://hackage.haskell.org/package/hS3) (optional)
2012-07-26 02:04:10 +00:00
* Optional haskell stuff, used by the assistant and webapp (edit Makefile to disable)
2012-06-10 20:49:36 +00:00
* [stm](http://hackage.haskell.org/package/stm)
2012-07-26 02:04:10 +00:00
(version 2.3 or newer)
2012-06-17 21:15:56 +00:00
* [hinotify](http://hackage.haskell.org/package/hinotify)
2012-07-26 02:04:10 +00:00
(Linux only)
2012-07-19 20:29:22 +00:00
* [dbus](http://hackage.haskell.org/package/dbus)
* [yesod](http://hackage.haskell.org/package/yesod)
2012-07-26 09:13:27 +00:00
* [yesod-static](http://hackage.haskell.org/package/yesod-static)
* [yesod-default](http://hackage.haskell.org/package/yesod-default)
2012-07-26 02:04:10 +00:00
* [case-insensitive](http://hackage.haskell.org/package/case-insensitive)
* [http-types](http://hackage.haskell.org/package/http-types)
* [transformers](http://hackage.haskell.org/package/transformers)
* [wai](http://hackage.haskell.org/package/wai)
* [wai-logger](http://hackage.haskell.org/package/wai-logger)
* [warp](http://hackage.haskell.org/package/warp)
2012-07-26 09:13:27 +00:00
* [blaze-builder](http://hackage.haskell.org/package/blaze-builder)
* [blaze-html](http://hackage.haskell.org/package/blaze-html)
* [blaze-markup](http://hackage.haskell.org/package/blaze-markup)
2012-07-26 09:13:27 +00:00
* [crypto-api](http://hackage.haskell.org/package/crypto-api)
* [hamlet](http://hackage.haskell.org/package/hamlet)
* [clientsession](http://hackage.haskell.org/package/clientsession)
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/)
* [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)
* [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
Then just [[download]] git-annex and run: `make; make install`