How can git be installed on CENTOS 5.5?

前端 未结 14 1956
刺人心
刺人心 2020-12-02 06:18

How can I install git on CENTOS 5.5 machine? I tried to install it from yum but got following msg.

root@host [~]# sudo yum install git
Loaded plugins: fastes         


        
14条回答
  •  爱一瞬间的悲伤
    2020-12-02 06:45

    Just updating this for 2017 and later, as CentOS 5 has reached EOL and the URL for EPEL has changed:

    sudo rpm -Uvh http://archives.fedoraproject.org/pub/archive/epel/5/x86_64/epel-release-5-4.noarch.rpm
    sudo yum install git
    

    This gets you git 1.8.2.3

提交回复
热议问题