Linux Install git

Source: Internet
Author: User

Installation Method Reference: http://www.jb51.net/os/RedHat/149653.html

Specific content:

Before you install git, you need to install some dependent packages before installing the dependent packages to check if they are installed.

The shell command is as follows:

If not installed, we will install these dependent packages first:

# yum-y Install zlib-devel openssl-devel perl cpio expat-devel gettext-devel # yum install curl-devel# yum install AutoCo NF # wget https://codeload.github.com/git/git/tar.gz/v2.4.6 # chmod +x  

Git has been installed to succeed here, let's verify:

[[email protected] git-2.4.6]# git--versiongit version 2.4.6[[email protected] git-2.4.6]#

One of the problems encountered: Make:Warning:File ' config.mak.uname ' has modification time 8.8e+05 s on the future

Workaround: Using two methods, uncertain is the sort of solution, personal feeling is the first: because my CentOS is installed on VMware, install VMware Tools. Installation procedure please refer to: http://jingyan.baidu.com/article/2d5afd699108d985a2e28e35.html; the second solution is to: Enter in the Linux console

Ntpdate time.nist.gov

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.