-
Notifications
You must be signed in to change notification settings - Fork 0
CentOS 7 Install Git Last Version
Prez Ivan edited this page Dec 12, 2020
·
4 revisions
CentOS-7 does includes an old version of git, let's update!
- sudo yum remove git*
- sudo yum -y groupinstall "Development Tools"
- sudo yum -y install wget perl-CPAN gettext-devel perl-devel openssl-devel zlib-devel libcurl-devl expat-devel autoconf
- wget https://github.com/git/git/archive/v2.29.2.tar.gz
- tar -xvf v2.29.2.tar.gz
- rm -f v2.29.2.tar.gz
- cd git-*
- make configure
- ./configure --prefix=/usr
- make all -j 4
- sudo make install