Blog

How to install Git v 2.20 using cent os 7

User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active
 

## Git install to 2.* cent os

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

# select your release from github
wget https://github.com/git/git/archive/v2.1.2.tar.gz -O git.tar.gz

# as per Jan 4th 2019
wget https://github.com/git/git/archive/v2.20.1.tar.gz -O git.tar.gz

tar -zxf git.tar.gz
cd git-*

make configure
./configure --prefix=/usr/local

sudo make install

git config --global user.name "Your Name"
git config --global user.email "This email address is being protected from spambots. You need JavaScript enabled to view it."

git config --list

user.name=Your Name
user.email=This email address is being protected from spambots. You need JavaScript enabled to view it.


# source
>> source: https://www.digitalocean.com/community/tutorials/how-to-install-git-on-centos-7

About Me

Oops...Almost forgot to say something about me. But anyway, I'm that guy, yule Msee, who'll sort out your techie issue and hails from the land of milk and honey. Not forgetting the bitter herbs too.

This is what am best at. Feel free to ask something. 

Latest Tweets

Search

Loading