Home > CentOS > Installing Git on CentOS 5

Installing Git on CentOS 5

This technique requires the “Extra Packages for Enterprise Linux” repo.. So this is not a .rpm install from some untrusted site. It’s from the RedHat repos themselves.

Firstly, install the EPEL package. More information on EPEL is available from their site. Then, install git and you’re done!

su -c 'rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm'
yum install git

See the EPEL FAQ for more details.

Categories: CentOS Tags: , , ,
blog comments powered by Disqus