Saucy, Raring

sudo apt-get install git-annex

Precise

sudo apt-get install git-annex

Note: This version is too old to include the assistant or its WebApp, but is otherwise usable.

Precise PPA

https://launchpad.net/~fmarier/+archive/git-annex

A newer version of git-annex, including the assistant and WebApp. (Maintained by François Marier)

sudo add-apt-repository ppa:fmarier/git-annex
sudo apt-get update
sudo apt-get install git-annex

Oneiric

sudo apt-get install git-annex

Warning: The version of git-annex shipped in Ubuntu Oneiric had a bug that prevents upgrades from v1 git-annex repositories. If you need to upgrade such a repository, get a newer version of git-annex.

Note that the fmarier ppa includes more than just git-annex. I've asked the author if he could segregate git-annex into a separate ppa.
@Pedro, see http://askubuntu.com/a/170265 for blocking all packages except git-annex from François's repo.
As Pedro suggested, I've moved my git-annex backport to a separate PPA with only git-annex and the 220 Haskell packages it depends on.
Comment by https://openid.fmarier.org/ Sat Jun 15 07:45:13 2013

I'm setting up git-annex for myself (wanting to use the assistant to build myself a replacement for dropbox/box/ownCloud, etc.) and I installed the ubuntu package. Unfortunately, it is way out of date (3.20120406: amd64 i386). I didn't think to check the version. It's deceiving as the UI's are all the same, but it doesn't seem to work at all (syncing fails to remote servers, odd things happen with symlinking files to git object files, changing file permissions).

It gives a bad first intro into git-annex on ubuntu (*nix?) machines. It might be best just to point people at the cabal install for now so we get the lastest and greatest.

Anyway, thanks for the great tool, I'm looking forward to using it.

Jeff, AFAIK the 3.20120406 in precise does not include the assistant at all. The Precise PPA is well up-to-date. I don't think git-annex has anyone in Ubuntu updating the package, so it's whatever version is synced periodically from Debian.

(AFAICS, all the problems Jeff had were due to manually creating an indirect mode repository when he expected direct mode.)

Comment by http://joeyh.name/ Sat Jul 27 20:12:33 2013

Ah, does it only have the webapp? I was able to boot the webapp and see messages, and it looked mostly the same, I assumed it was broken since no syncing was happening, but that would be due to the assistant not being there.

I guess it's hard as a new user that goes straight for the easy/out-of-the box solution, via the assistant, after watching your video on it. I just assumed things were broken since I was seeing slightly different things. I didn't understand that the assistant was separate from the webapp (and was missing).

Maybe mentioning the minimum required version on the assistant page to at least prompt users to check the version they're getting? I assumed following the link to the install guide, and installing the package for Ubuntu, would give me what I needed.

I see how I missed this page too. I just saw the apt-get install git-annex and didn't even register Ubuntu as a link with more information.
The webapp is part of the assistant. I was told Precise didn't have it, but IIRC they were working on fixing that build, and perhaps that has happened now.
Comment by http://joeyh.name/ Sat Jul 27 21:53:57 2013
Comments on this page are closed.