Installing Git in Centos 5.5 with yum

User login

Installing Git in Centos 5.5 with yum is just a matter of seconds.

First we need to set up the Webtatic repository (http://www.webtatic.com/projects/yum-repository/) in yum.
We can do this with the following command in our terminal:

rpm -ivh http://repo.webtatic.com/yum/centos/5/`uname -i`/webtatic-release-5-1.noarch.rpm

Once the repository is available, we can install Git with the following:

yum install --enablerepo=webtatic git-all

Tags: 
Server configuration, CentOS