2014-02-28 20:03:12 +00:00
|
|
|
git-annex is available in recent versions of Fedora.
|
2012-10-12 18:07:53 +00:00
|
|
|
[status](http://koji.fedoraproject.org/koji/packageinfo?packageID=14145)
|
2012-07-24 15:14:36 +00:00
|
|
|
|
2012-10-12 18:07:53 +00:00
|
|
|
Should be as simple as: `yum install git-annex`
|
2012-07-24 15:14:36 +00:00
|
|
|
|
2012-10-12 18:07:53 +00:00
|
|
|
----
|
|
|
|
|
2013-04-02 15:22:44 +00:00
|
|
|
To install the latest version of git-annex on Fedora 18 and later, you can use `cabal`:
|
|
|
|
|
|
|
|
<pre>
|
|
|
|
# Install dependencies
|
|
|
|
sudo yum install libxml2-devel gnutls-devel libgsasl-devel ghc cabal-install happy alex libidn-devel
|
|
|
|
# Update the cabal list
|
|
|
|
cabal update
|
|
|
|
# Install c2hs, required by dependencies of git-annex, but not automatically installed
|
|
|
|
cabal install --bindir=$HOME/bin c2hs
|
|
|
|
# Install git-annex
|
|
|
|
cabal install --bindir=$HOME/bin git-annex
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
----
|
|
|
|
|
2012-10-12 18:07:53 +00:00
|
|
|
Older version? Here's an installation recipe for Fedora 14 through 15.
|
2011-06-02 04:51:56 +00:00
|
|
|
|
|
|
|
<pre>
|
2013-02-11 15:47:53 +00:00
|
|
|
sudo yum install ghc cabal-install
|
2012-04-13 15:24:25 +00:00
|
|
|
git clone git://git-annex.branchable.com/ git-annex
|
2012-04-13 15:13:58 +00:00
|
|
|
cd git-annex
|
2012-04-22 05:31:19 +00:00
|
|
|
git checkout ghc7.0
|
2012-04-13 15:13:58 +00:00
|
|
|
cabal update
|
2012-04-13 15:37:49 +00:00
|
|
|
cabal install --only-dependencies
|
2012-04-13 15:13:58 +00:00
|
|
|
cabal configure
|
|
|
|
cabal build
|
|
|
|
cabal install --bindir=$HOME/bin
|
2011-06-02 04:51:56 +00:00
|
|
|
</pre>
|
2012-04-13 15:13:58 +00:00
|
|
|
|
|
|
|
Note: You can't just use `cabal install git-annex`, because Fedora does
|
|
|
|
not yet ship ghc 7.4.
|