git-annex/doc/install/Fedora.mdwn
Joey Hess 341269e035 git-annex (4.20130815) unstable; urgency=low
* assistant, watcher: .gitignore files and other git ignores are now
    honored, when git 1.8.4 or newer is installed.
    (Thanks, Adam Spiers, for getting the necessary support into git for this.)
  * importfeed: Ignores transient problems with feeds. Only exits nonzero
    when a feed has repeatedly had a problems for at least 1 day.
  * importfeed: Fix handling of dots in extensions.
  * Windows: Added support for encrypted special remotes.
  * Windows: Fixed permissions problem that prevented removing files
    from directory special remote. Directory special remotes now fully usable.

# imported from the archive
2013-08-15 04:14:33 -04:00

39 lines
1.1 KiB
Markdown

git-annex is available in recent versions of Fedora. Although it is
not currently a very recent version, it should work ok.
[status](http://koji.fedoraproject.org/koji/packageinfo?packageID=14145)
Should be as simple as: `yum install git-annex`
----
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.