Skip to content

Git from Source on Centos/RHEL 7


$ sudo yum update


$ sudo yum groupinstall "Development Tools"
$ sudo yum install gettext-devel openssl-devel perl-CPAN perl-devel zlib-devel

$ wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.16.2.tar.gz

$ tar xf git-2.16.2.tar.gz
$ ./configure
$ make
$ make install
$ git --version

Shashi View All

A passionate devops and automation engineer

One thought on “Git from Source on Centos/RHEL 7 Leave a comment

Leave a comment