Git – Installation on CentOS 7


This is a continuation of my previous post about Git and GitHub

Installation of Git on Linux, CentOS 7 server is pretty simple. This will be required especially if you are installing Jenkins on a Linux host where Jenkins needs to use Git as the Source Repository.

The steps are as follows:

  • yum groupinstall “Development Tools” -y
  • yum install gcc autoconf curl-devel gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel -y
  • wget
  • tar -xvf git-2.16.2.tar.xz
  • cd git-2.16.2
  • make configure
  • ./configure –prefix=/usr/local
  • make install

Check the installation by using the command “git –version

Using Git and Github