Install Git 2.7.1 On Ubuntu / LinuxMint / Debian Via PPA

Share it:

Git a free and opensource distributed version control system designed to handle everything from small to large projects with speed and efficiency.It is a client for the Popular github.

In this tutorial I will show you how to install git 2.7.1 On Ubuntu 15.10 / 15.04 / 14.04 LTS  and LinuxMint.

The Latest version of GIT is 2.7.1 which is a stable version and it is released days ago

Installation steps 

Method 1 : via ppa
Method 2 : via tar file

Method 1

Step 1: Add the Official PPA provided by GIT
sudo add-apt-repository ppa:git-core/ppa
Step 2: Update the Repository
sudo apt-get update
Step 3: Install GIT 2.7.1
sudo apt-get install git

Method 2

Download the tar file from the official site or use wget
wget https://www.kernel.org/pub/software/scm/git/git-2.7.1.tar.gz
Step 2:Extract the package and configure it
tar -xvzf git-2.7.1.tar.gz
./configure
step 3: Compile the Git
make && make install
Note : if you encountered any error while using the make command install the below package and once again compile
apt-get install libssl-dev
Check the version 2.7.1 installed or not

# git --version
git version 2.7.1

Share it:

Post A Comment: