Linux Install git

Source: Internet
Author: User

0. Before installing git:
First look at the GIT official online, Linux How to install Git, the original is very simple, only need to enter the command, but different Linux version of the corresponding command is not the same:

  

To view the Linux version on the command line:
$ cat/etc/redhat-release

  

Oh, my linux is cent OS 6.3, but git official online how not, this time from the almighty Internet query to cent OS install git command is yum install git

1, enter the git command directly, try to see if there is no installation:
$ git
2. Enter the command:
$ yum Install git

Note No permissions are used: sudo yum install git

  
3, according to the prompt input: Y (lowercase)

  

4, waiting for download, automatic installation is complete: input command: Git--version

  

OK, now start to experience git!

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.