How can git be installed on CENTOS 5.5?

前端 未结 14 1949
刺人心
刺人心 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:43

    I'm sure this question is about to die now that RHEL 5 is nearing end of life, but the answer seems to have gotten a lot simpler now:

    sudo yum install epel-release
    sudo yum install git
    

    worked for me on a fresh install of CentOS 5.11.

提交回复
热议问题