aboutsummaryrefslogtreecommitdiff
path: root/doc/install/Fedora.mdwn
blob: 9c31165f8372722360135f3063dfcf0731cc5dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
git-annex is available in recent versions of Fedora.
[status](http://koji.fedoraproject.org/koji/packageinfo?packageID=14145)

Should be as simple as: `yum install git-annex`

Note: Fedora's build does not currently include the git-annex webapp.

----

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>

----

Older version? Here's an installation recipe for Fedora 14 through 15.

<pre>
sudo yum install ghc cabal-install
git clone git://git-annex.branchable.com/ git-annex
cd git-annex
git checkout ghc7.0
cabal update
cabal install --only-dependencies
cabal configure
cabal build
cabal install --bindir=$HOME/bin
</pre>

Note: You can't just use `cabal install git-annex`, because Fedora does
not yet ship ghc 7.4.