2012-09-27 22:52:42 +00:00
## git-annex.app
2012-09-27 22:54:15 +00:00
For easy installation, [Jimmy Tang](http://www.sgenomics.org/~jtang/)
builds a standalone git-annex.app of the git-annex assistant.
2012-09-27 22:52:42 +00:00
* [beta release of git-annex.app](http://downloads.kitenet.net/git-annex/OSX/git-annex.dmg.bz2)
2012-09-28 20:39:40 +00:00
* [daily build of git-annex.app](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/ref/master/git-annex.dmg.bz2) ([build logs](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/))
* [past builds](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/sha1/) -- directories are named from the commitid's
2012-09-27 22:52:42 +00:00
2012-09-24 21:08:22 +00:00
## using Brew
<pre>
sudo brew update
2012-10-29 17:15:30 +00:00
sudo brew install haskell-platform git ossp-uuid md5sha1sum coreutils pcre libgsasl
2012-09-24 21:08:22 +00:00
cabal update
cabal install git-annex --bindir=$HOME/bin
</pre>
## using MacPorts
2012-06-03 18:27:11 +00:00
Install the Haskell Platform from [[http://hackage.haskell.org/platform/mac.html]].
2012-05-28 19:07:32 +00:00
The version provided by Macports is too old to work with current versions of git-annex.
Then execute
2011-07-30 17:28:42 +00:00
2011-02-06 17:43:31 +00:00
<pre>
2011-07-30 17:28:42 +00:00
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre
2011-07-30 18:04:25 +00:00
sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that allows pcre-light to find pcre
2011-02-06 17:43:31 +00:00
2011-09-06 18:48:15 +00:00
sudo cabal update
2012-06-03 18:27:11 +00:00
cabal install git-annex --bindir=$HOME/bin
2011-02-06 17:43:31 +00:00
</pre>
2012-09-24 21:08:22 +00:00
## PATH setup
2012-08-24 18:22:07 +00:00
Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
<pre>
2012-11-01 05:22:12 +00:00
PATH=$HOME/bin:/usr/bin/local:$PATH
2012-08-24 18:22:07 +00:00
</pre>
2011-03-19 15:31:08 +00:00
See also:
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
* [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]]