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?

2 Answers2

3

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
Eliah Kagan
  • 117,780
8ctopus
  • 158
  • 6
  • 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 07 '19 at 13:07
  • 1
    @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 08 '19 at 06:54
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.

talamaki
  • 210