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.
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.
nodep*
version gets chosen even though thealldep*
version has a higher build number -- will ask conda people and get back. If you prefer not to be haunted just install withgit-annex=*=alldep*
to force the standard version.