how to install git on CENTOS 5.5

6,848

Add the EPEL repository and then run 'yum install git' again

http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F

Share:
6,848

Related videos on Youtube

Volodymyr Sitdikov
Author by

Volodymyr Sitdikov

Updated on September 17, 2022

Comments

  • Volodymyr Sitdikov
    Volodymyr Sitdikov over 1 year

    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: fastestmirror
    Loading mirror speeds from cached hostfile
     * addons: centos.mirrors.tds.net
     * base: mirror.ubiquityservers.com
     * extras: mirrors.serveraxis.net
     * updates: pubmirrors.reflected.net
    addons                                                   |  951 B     00:00
    base                                                     | 2.1 kB     00:00
    extras                                                   | 2.1 kB     00:00
    updates                                                  | 1.9 kB     00:00
    Excluding Packages in global exclude list
    Finished
    Setting up Install Process
    No package git available.
    Nothing to do
    root@host [~]#
    
  • Volodymyr Sitdikov
    Volodymyr Sitdikov over 13 years
    I added epcl respo and tried to install git, but I got errors regarding git Dependencies and unable to install it.
  • Volodymyr Sitdikov
    Volodymyr Sitdikov over 13 years
    actually I am learning linux and new with it so isn't there any easy solution?
  • Alan Ivey
    Alan Ivey over 13 years
    What dependencies was it not able to find? Post your output here and I'll try to help you get it resolved.
  • yasouser
    yasouser about 13 years
    Trying to resolve problems like these are also part of learning. So dont think this situation as a hinderance, rather take this as an opportunity to learn.
  • cbmeeks
    cbmeeks over 12 years
    Is this still the correct way to do this - on a CentOS 5.7 box, tried the RHEL5 option but getting missing dependancies, like perl-Git?