Git a free and open source released a new version 2.16.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.16.1 On Linux distributions.
The Latest version of GIT is 2.16.1 which is a stable version.
What's New in this version?
- "git clone" segfaulted when cloning a project that happens to track two paths that differ only in case on a case-insensitive filesystem.
- Method 1: via PPA
- Method 2: via tar file
Method 1Step 1: Add the Official PPA provided by GIT
sudo add-apt-repository ppa:git-core/ppaStep 2: Update the Repository
sudo apt-get updateStep 3: Install GIT 2.16.1
sudo apt-get install git
Method 2Install the Download the tar file from the official site or use wget
wget https://www.kernel.org/pub/software/scm/git/git-2.16.0.tar.gzStep 2: Extract the package and configure it
tar -xvzf git-2.16.1.tar.gz
./configurestep 3: Compile the git
make && make installNote: 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 libcurl4-gnutls-devFor CentOS
yum install openssl-devel curl-devel expat-devel gettext-devel zlib-devel perl-ExtUtils-MakeMakerCheck the version installed or not