Install GIT in CentOS (test it) and centosgit
1. install the required software package # sudo su # yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel # yum install gcc perl-ExtUtils-MakeMaker2, download & install # cd/usr/ src # wget https://www.kernel.org/pub/software/scm/git/git-2.7.3.tar.gz (git version, this document is subject to 2.7.3) # tar xzf git-2.7.3.tar.gz # cd git-2.7.3 # make prefix =/usr/local/git all # make prefix =/usr/local/git install # echo "export PATH = $ PATH: /usr/local/git/bin ">/e Tc/bashrc # source/etc/bashrc, other users may have problems) 3. Check the version # git -- versiono, other centos built-in Git, 7. version x comes with git 1.8.3.1 (which should be, or may not). Before installing the new version, you must use yun remove git to uninstall it (or uninstall it after installation ). When you execute make prefix =/usr/local/git all, the following Error may be reported: make: * [git-credential-store] Error 1. You can use the following command to replace #. /configure -- without-iconv # make CFLAGS =-liconv prefix =/usr/local/git all # make CFLAGS =-liconv prefix =/usr/local/git install Important: the content is organized based on the network and your own experience. If you offend the original author, contact QQ: 452834144 to delete it.