Skip to content
Advertisement

How to install latest version of git on CentOS 8.x/7.x/6.x

I used the usual:

JavaScript

It did not install the latest version of git on my CentOS 6. How can I update to the latest version of git for CentOS 6? The solution can be applicable to newer versions of CentOS such as CentOS 7.

Advertisement

Answer

You can use WANDisco’s CentOS repository to install Git 2.x: for CentOS 6, for CentOS 7

  1. Install WANDisco repo package:

    JavaScript
  2. Install the latest version of Git 2.x:

    JavaScript
  3. Verify the version of Git that was installed:

    JavaScript

As of 02 Mar. 2020, the latest available version from WANDisco is 2.22.0.

Advertisement