Install Git 2.14.1 On Ubuntu / LinuxMint / Debian and CentOS

Share it:

Git a free and open source released a new version 2.14.1, it is a 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.14.1 On Ubuntu 17.04/ 16.04 LTS / 14.04 LTS , LinuxMint and CentOS

The Latest version of GIT is 2.14.1 which is a stable version and it is released on 12th August 2017


For Changelog refer this LINK

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.14.1
sudo apt-get install git

Method 2

Download the tar file from the official site or use wget
Step 2: Extract  he package and configure it
tar -xvzf git-2.14.1.tar.gz
step 3: Compile the git
make && make install
Note: if you encounter any error while using the make command install the below package and once again compile

For Debian distributions
apt-get install libssl-dev
For CentOS
yum install openssl-devel curl-devel expat-devel gettext-devel zlib-devel perl-ExtUtils-MakeMaker
Check the version installed or not
git --version
Share it:

Post A Comment: