Install git on centos
Release date: November 30,201 1 Classification: Linux
Solve the problem of full CPU usage of the dock process under lion
PHP extension development: Installing PHP
The centos Yum source does not have git. You can only compile and install it by yourself. Now you can record the compilation and installation content and leave it to your own memo.
Make sure that the dependent package is installed.
Yum install curl |
Yum install curl-devel |
Yum Install zlib-devel |
Yum install OpenSSL-devel |
Yum Install Perl |
Yum install cpio |
Yum install expat-devel |
Yum Install gettext-devel |
Download the latest git package
Wget http://www.codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.gz |
Tar Xzvf git-latest.tar.gz |
CD git-2011-11-30 # Your directory may not be this |
Autoconf |
./Configure |
Make |
Sudo Make install |
Check the installed version.
Git -- version http://www.ccvita.com/370.html |