71 lines
2.7 KiB
Markdown
71 lines
2.7 KiB
Markdown
## git-annex.app
|
|
|
|
[[!img /assistant/osx-app.png align=right link=/assistant]]
|
|
For easy installation, use the prebuilt app bundle.
|
|
|
|
* 10.9 Mavericks: [git-annex.dmg](https://downloads.kitenet.net/git-annex/OSX/current/10.9_Mavericks/git-annex.dmg)
|
|
* 10.8.2 Mountain Lion: [git-annex.dmg.bz2](https://downloads.kitenet.net/git-annex/OSX/current/10.8.2_Mountain_Lion/git-annex.dmg.bz2) **warning: not being updated any longer**
|
|
* 10.7.5 Lion: [git-annex.dmg](https://downloads.kitenet.net/git-annex/OSX/current/10.7.5_Lion/git-annex.dmg)
|
|
|
|
To run the [[git-annex_assistant|/assistant]], just
|
|
install the app, look for the icon, and start it up.
|
|
|
|
To use git-annex at the command line, you can add
|
|
`git-annex.app/Contents/MacOS` to your `PATH`
|
|
|
|
Alternatively, from the command line you can run
|
|
`git-annex.app/Contents/MacOS/runshell`, which makes your shell use all the
|
|
programs bundled inside the app, including not just git-annex, but git, and
|
|
several more. Handy if you don't otherwise have git installed.
|
|
|
|
## autobuilds
|
|
|
|
[Jimmy Tang](http://www.sgenomics.org/~jtang/) autobuilds
|
|
the app for OSX Lion.
|
|
|
|
* [autobuild of git-annex.dmg](http://www.sgenomics.org/~jtang/gitbuilder-git-annex-x00-x86_64-apple-darwin10.8.0-binary/ref/master/git-annex.dmg) ([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
|
|
|
|
[[Joey]] autobuilds the app for Mavericks.
|
|
|
|
* [autobuild of git-annex.dmg](https://downloads.kitenet.net/git-annex/autobuild/x86_64-apple-mavericks/git-annex.dmg) ([build logs](https://downloads.kitenet.net/git-annex/autobuild/x86_64-apple-mavericks/))
|
|
|
|
## using Brew
|
|
|
|
<pre>
|
|
brew update
|
|
brew install haskell-platform git ossp-uuid md5sha1sum coreutils gnutls libidn gsasl pkg-config libxml2
|
|
brew link libxml2 --force
|
|
cabal update
|
|
mkdir $HOME/bin
|
|
PATH=$HOME/bin:$PATH
|
|
PATH=$HOME/.cabal/bin:$PATH
|
|
cabal install c2hs --bindir=$HOME/bin
|
|
cabal install gnuidn
|
|
cabal install git-annex --bindir=$HOME/bin
|
|
</pre>
|
|
|
|
## using MacPorts
|
|
|
|
Install the Haskell Platform from [[http://hackage.haskell.org/platform/mac.html]].
|
|
The version provided by Macports is too old to work with current versions of git-annex.
|
|
Then execute
|
|
|
|
<pre>
|
|
sudo port install git-core ossp-uuid md5sha1sum coreutils gnutls libxml2 libgsasl pkgconfig
|
|
sudo cabal update
|
|
PATH=$HOME/bin:$PATH
|
|
cabal install c2hs git-annex --bindir=$HOME/bin
|
|
</pre>
|
|
|
|
## PATH setup
|
|
|
|
Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
|
|
<pre>
|
|
PATH=$HOME/bin:$PATH
|
|
</pre>
|
|
|
|
See also:
|
|
|
|
* [[forum/OSX__39__s_haskell-platform_statically_links_things]]
|
|
* [[forum/OSX__39__s_default_sshd_behaviour_has_limited_paths_set]]
|