git-annex/ install/ conda

On Linux, an up-to-date binary distribution of git-annex can now be installed with the conda package manager from the conda-forge channel.

After installing conda, run:

    conda install -c conda-forge git-annex

Note that this installation method does not need root permissions.

If there are package conflicts between git-annex's dependencies and packages already installed in the environment, conda may fall back on installing the standalone git-annex distribution. This distribution may work slower or have other issues. To require installation of the standard package, use

    conda install -c conda-forge git-annex=*=alldep*

This, however, could result in installing an older git-annex version to avoid package conflicts.

comment 2
"this sounds like what @Ilya_Shlyakhter said earlier" because I maintain the conda package :) I need to figure out why the `nodep*` version gets chosen even though the `alldep*` version has a higher build number -- will ask conda people and get back. If you prefer not to be haunted just install with `git-annex=*=alldep*` to force the standard version.
Comment by Ilya_Shlyakhter — Wed Oct 29 14:05:27 2025
Ugly message when installing git-annex through conda

Whenever I install git-annex through conda, this message haunts me:

    Downloading and Extracting Packages
    certifi-2020.6.20    | 151 KB    | ############################################################################################################################################################## | 100%
    conda-4.8.4          | 3.1 MB    | ############################################################################################################################################################## | 100%
    python_abi-3.7       | 4 KB      | ############################################################################################################################################################## | 100%
    Preparing transaction: done
    Verifying transaction: done
    Executing transaction: \ b'\n##############################################################################\n#                                                                            #\n# Standalone distribution of git-annex was installed, instead of the         #\n# standard distribution, likely due to package conflicts in the target       #\n# environment.  The standalone distribution may have issues (e.g. be slower, #\n# or not pass the expected environment to some external programs);           #\n# the standard distribution should be used when possible.                    #\n# You can force installation of the standard version by adding =alldep* to   #\n# the build string, e.g.                                                     #\n# conda install git-annex=*=alldep*                                          #\n#                                                                            #\n# For more info on the standalone git-annex distribution see                 #\n# https://git-annex.branchable.com/install/Linux_standalone/                 #\n#                                                                            #\n##############################################################################\n'
    done

I couldn't help, but notice this sounds like what @Ilya_Shlyakhter said earlier.

I'm not a packaging expert, but I don't think this message is really supposed to be here.

Comment by cardoso-neto — Wed Oct 29 14:05:27 2025
Comments on this page are closed.