Git a free and opensource distributed version control system designed to handle everything from small to large projects with speed and e...
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.9.2 On Ubuntu 16.04 LTS / 14.04 LTS ,LinuxMint and CentOS 7 / 6
The Latest version of GIT is 2.9.2 which is a stable version and it is released on 21st July 2016
Changelog
- A fix merged to v2.9.1 had a few tests that are not meant to be run on platforms without 64-bit long, which caused unnecessary test failures on them because we didn't detect the platform and skip them. These tests are now skipped on platforms that they are not applicable to.
Installation steps
Method 1 : via ppa -- For DEBIAN based distrMethod 2 : via tar file - For ALL
Method 1
Step 1: Add the Official PPA provided by GITsudo add-apt-repository ppa:git-core/ppaStep 2: Update the Repository
sudo apt-get updateStep 3: Install GIT 2.9.2
sudo apt-get install git
Method 2
Download the tar file from the official site or use wgetwget https://www.kernel.org/pub/software/scm/git/git-2.9.2.tar.gzStep 2:Extract the package and configure it
tar -xvzf git-2.9.2.tar.gz
./configurestep 3: Compile the git
make && make installNote : if you encounterd 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
COMMENTS