git-annex/ install/ Ubuntu

Ubuntu has a git-annex package, so to install simply run:

    sudo apt-get install git-annex

## backport

If the version shipped with Ubuntu is too old, the NeuroDebian team provides a standalone build package that is regularly updated and that should work across all releases of Ubuntu.

Outdated in 13.04

13.04 Raring also has fairly outdated packages: 3.20121112ubuntu4 Is there a PPA or some such for this? I suppose since Saucy will be out soon this is less critical, but would still be useful.

These don't have direct mode, which (I think; I haven't tested it yet) is the feature I've been waiting for.

Comment by https://openid.stackexchange.com/user/2eeca722-8d1c-41fe-8fda-13af7eaff6ae — Tue Jul 22 18:11:47 2025
comment 8
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/ — Tue Jul 22 18:11:47 2025
comment 7
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.
Comment by https://www.google.com/accounts/o8/id?id=AItOawmhGq_ii5HaDkp9nx2m9qIMe-xxI4HV5wo — Tue Jul 22 18:11:47 2025
comment 6

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.

Comment by https://www.google.com/accounts/o8/id?id=AItOawmhGq_ii5HaDkp9nx2m9qIMe-xxI4HV5wo — Tue Jul 22 18:11:47 2025
comment 5

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/ — Tue Jul 22 18:11:47 2025
Packages way out of date

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.

Comment by https://www.google.com/accounts/o8/id?id=AItOawmhGq_ii5HaDkp9nx2m9qIMe-xxI4HV5wo — Tue Jul 22 18:11:47 2025
New PPA only contains git-annex
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/ — Tue Jul 22 18:11:47 2025
PPA Package Pinning
@Pedro, see http://askubuntu.com/a/170265 for blocking all packages except git-annex from François's repo.
Comment by https://www.google.com/accounts/o8/id?id=AItOawlQ7ZdQxAps4v0cl5J3wKGWD8243Gy8-m0 — Tue Jul 22 18:11:47 2025
comment 16

Eh, true. Our version is year old as the one which doesn't cause regressions in datalad. We are still fighting with some remaining regressions. See eg one of the last attempts https://github.com/datalad/datalad/pull/4915 .

We do have unannounced on the NeuroDebian debian-devel/ (complement to regular debian/ line in your apt listing) from the main NeuroDebian website (not mirrors). That is where we upload those versions to test.

Also there is now a daily built git annex .deb (and .dmg for osx) package as artifact of GitHub workflow, eg https://github.com/datalad/datalad-extensions/actions/runs/274613689 . I guess we better automatically upload them somewhere for easier fetching/deployment.

Comment by yarikoptic — Tue Jul 22 18:11:47 2025
NeuroDebian seems to have stopped updating
The comment about NeuroDebian providing more up to date builds is out of date, their version is now more than a year old. An alternative would be welcome, something between the official Ubuntu package and compiling from source.
Comment by mhauru — Tue Jul 22 18:11:47 2025
Trusty PPA

@Dennis, I just got a backport of the latest release (5.20150113) running under trusty. This was my first attempt at backporting software and it ended up being a fairly big project. I had to pull in a lot of haskell dependencies from vivid in order to get this to build.

I'll attempt to keep this PPA up-to-date as long as I don't have to do too much more build dep wrangling.

https://launchpad.net/~jtgeibel/+archive/ubuntu/ppa?field.series_filter=trusty

Comment by https://www.google.com/accounts/o8/id?id=AItOawltxdgYMUK4CMJh3jC8AlegwyoiHA9Ka7o — Tue Jul 22 18:11:47 2025
Ubuntu Trusty 14.04
I am searching for current packages for Ubuntu Trusty 14.04. The version shipped is 5.20140412ubuntu1, but I would like to try a more recent version to see if an issue I experience still persists. Is there any up-to-date PPA available for Trusty?
Comment by https://www.google.com/accounts/o8/id?id=AItOawntodrSgODU27WUCyN2PV7TC14YMkyaoxQ — Tue Jul 22 18:11:47 2025
Raring?
I'm also on Raring and the latest version available is 3.20121112ubuntu4, nearly a year old. The PPA is only for Precise. The tarball is a daily snapshot, and I would much rather run a released version right now. What can I do? Can't the PPA be built automatically for Raring and Saucy?
Comment by https://www.google.com/accounts/o8/id?id=AItOawmNu4V5fvpLlBhaCUfXXOB0MI5NXwh8SkU — Tue Jul 22 18:11:47 2025
Re: comment 10

Jacob: make sure you have the right URL for the PPA: https://launchpad.net/~fmarier/+archive/git-annex

It used to be in my main PPA, now it's in a separate PPA by itself. The package was removed from the original PPA (hence it won't update) but is fully up to date in the new one.

Comment by fmarier — Tue Jul 22 18:11:47 2025
comment 10
would be great to get the PPA updated with the latest git-annex; i'm finding synchronisation bugs (ie. updates made to word documents aren't replicated), and discovered its rather old now.
Comment by https://www.google.com/accounts/o8/id?id=AItOawkdiXn5s1wX2Zncy1S7_h-yPTv2gt0bmmY — Tue Jul 22 18:11:47 2025
comment 1
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.
Comment by https://www.google.com/accounts/o8/id?id=AItOawkx5V3MTbzCXS3J7Mn9FEq8M9bPPYMkAHY — Tue Jul 22 18:11:47 2025
Comments on this page are closed.