0

It is similar to this other question, but the problem here is to use git LFS version 2.4. Today, apt, etc. only installs git LFS v2.0.2, even upgrading by apt with PPA, etc. same v2.0.

How to change to v2.4?

1

I just installed git-lfs version 2.4.2 on Ubuntu 16.04 LTS using the script.deb.sh script from packagecloud.io git-lfs page.

curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs

Probably updating and upgrading your apt packages is enough for you.

| improve this answer | |
  • The core of this solution is the same curl and apt-get lines as the cited reference... So, no news in this answer? – Peter Krauss Oct 7 '19 at 13:11
1

According to the official git LFS documentation at https://github.com/git-lfs/git-lfs/wiki/Installation, to install the latest version of git-lfs on any Ubuntu:

  1. curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
  2. sudo apt-get install git-lfs
  3. git lfs install
| improve this answer | |
  • The core of this solution is the same curl and apt-get lines as @talamaki and same as cited reference... So, no news in this answer? – Peter Krauss Oct 7 '19 at 13:07
  • @PeterKrauss the significant difference is the link to the official github documentation. I don't like to run scripts from unknown sources and especially if they change my apt sources – 8ctopus Oct 8 '19 at 6:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.