Detailed tutorial on how to install Git application environment on CentOS5

888u

Last update at :2024-06-20,Edit by888u

I see that there have been a lot of discussions about installation in the Snail blog group recently. To be honest, I really didn’t know much about this before. I could only follow the instructions and find relevant installation tutorials to see what the specific functions and applications are like. During the installation process, you need to install the git environment. Maybe my VPS host does not have the default git environment, so I cannot install yum install git -y, so I need to install the git environment first.

The machine I am currently testing is in the centos5 environment. After testing, the installation can be successful, so I will share the detailed tutorial on how to install the Git application environment on CentOS5 as follows.

First, install dependency packages

yum -y install zlib-devel openssl-devel cpio expat-devel gettext-devel

Second, download the git environment

cd /usr/local/srcwget http://git-core.googlecode.com/files/git-1.7.9.tar.gztar xvzf git-1.7.9.tar.gzcd git-1.7.9

Third, install git

./configuremakemake install

Finally, we use git –version to check whether the version number can be seen. If it can be seen, the installation is successful.

Recommended site searches: US host forum, php virtual space, .cn domain name registration, US counterfeit brand space, Hong Kong host high defense, telecom host rental, Jiangsu high defense server, US vps server, vps ip change, mainland China free Registration host,

Detailed tutorial on how to install Git application environment on CentOS5

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码