Install Latest Git on Centos

Install Latest Git on Centos

  1. Download with yum.yum install git
  2. If you need the latest, try to remove git first.yum remove git
  3. Change directory to tmp.cd /tmp
  4. Download the latest git https://github.com/git/git/releases. Example we use 2.16.curl -O -L https://github.com/git/git/archive/v2.16.0-rc2.tar.gz
  5. Extract tar.tar -zxvf v2.16.0-rc2.tar.gz
  6. Execute as root.
    cd git-v2.16.0
    make clean
    make configure
    sudo make install
  7. Check git version.git --version





Leave a Reply