How can git be installed on CENTOS 5.5?

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

    Just installed git using the following instructions:

    1. Install EPEL V5
      #rpm -Uvh http://archives.fedoraproject.org/pub/archive/epel/5/x86_64/epel-release-5-4.noarch.rpm

    2. Install Git
      # yum install git git-daemon

    3. Check
      # git --version
      git version 1.8.2.3

    4. Optionally install Git GUI
      # yum install git-gui

    For i386 substitute x86_64 by i386 in the URL at step #1.

    #rpm -Uvh http://archives.fedoraproject.org/pub/archive/epel/5/i386/epel-release-5-4.noarch.rpm

提交回复
热议问题