Centos6.5 using yum to install git

Source: Internet
Author: User
This article mainly introduces how to install git using yum in centos6.5. if you need it, refer to the following tag: CentOS

1. download the geekery repo File (root permission)

Copy codeThe code is as follows:
Cd/etc/yum. repos. d/
Wget

2. download the appropriate rpm package to the http://packages.sw.be/rpmforge-release

Copy codeThe code is as follows:
Rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

3. to http://rpm.pbone.net/search rpm epel-release

Copy codeThe code is as follows:
Epel-release-6-8.1.noarch.rpm

4. install rpm


Copy codeThe code is as follows:
Rpm-ivh rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm

Rpm-ivh epel-release-6-8.1.noarch.rpm

5. yum-y install git

Success

Copy codeThe code is as follows:
Git -- version
Git version 1.7.1

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.