Forums

git-lfs

Hi, I have need of Git-Large File Storage (install link ). Would it be possible to make this available as part of the standard install? TY!

We can look into installing it, but in the meantime, it also seems you can install it without root.

I got this to work. The only caveat is that it assumes you have write access to /usr/local/bin (which you DON'T on PythonAnywhere). So here's what I did (assuming you're in the home directory):

mkdir mybin
wget https://github.com/github/git-lfs/releases/download/v1.2.0/git-lfs-linux-amd64-1.2.0.tar.gz
tar -xzf git-lfs-linux-amd64-1.2.0.tar.gz
cd git-lfs-1.2.0
nano install.sh
Modify the prefix field to be ~/mybin
./install.sh
mv ~/git-lfs-1.2.0/~/mybin/git-lfs ~/mybin
nano ~/.bashrc
add "export PATH=$PATH:~/mybin/" to the bottom of .bashrc
restart the console

That's a neat workaround :-) You could even try using ~/.local/bin instead of ~/mybin -- the former directory is already on your path.