How to install Git on CentOS

Source: Internet
Author: User

Installing the dependency pack 1.yum-y install zlib-devel openssl-devel perl cpio expat-devel gettext-devel2.yum install autoconf3. Download git http://Codemonkey.org.uk/projects/git-snapshots/git/git-latest.tar.xz4. chmod +x git-1.8.3.2. tar.gz5. Tar xzvf git-1.8.3.2. tar.gz Decompression6. CD git-1.8.3.2Go to Catalog7. autoconf appears undefined no words can be installed using Yum install autoconf8./configure--prefix=/usr/tooks/Gittool setting up the installation directory9. makeTen. Make Install One. Git--version to see if the installation is good? Note:1. Configure:error:no acceptable C compiler found appearsinchThe $PATH is that no C language compiler is installed in the machine and can be installed with the Gcc:yum install GCC command2If you want to modify the installation location, you can start directly from the 8 operation.

How to install Git on CentOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.