Linux Install Git

Source: Internet
Author: User

< turn >

Work needs, to install Git, the results can not find the source, and later done, recorded as follows

1. Linux EL5 x86_64

1.1 I have Yum on this version, so I use Yum to install git, but I can't find the source for the first time, and finally show "nothing"

1.2 and then the Internet search, said to be installed first Epel
1.3 How do I install Epel? There are a lot of links on the web, but it may expire over time, so in the end, I'm looking for the link directly to the Epel official website.
EPEL official website https://fedoraproject.org/wiki/EPEL/zh-cn#. E6.88.91.e6.80.8e.e6.a0.b7.e8.8e.b7.e5.8f.96_epel_. E7.9a.84.e8.bd.af.e4.bb.b6.e5.8c.85.3f

I'm EL5, so pick this http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm.

1.4 Then run RPM-IVH http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm on the Linux machine
Prompt for installation success. If you fail, confirm that the Xia Guan Network has changed the link address

1.5 then run yum-y install git

This time, the installation was successful.

Linux Install Git

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.