Webtatic.com

Just another technical blog

Git 1.7.0.2 on CentOS 5

Posted 1st September 2009 by Andy | 1 Comment

I’ve been hearing good things about git lately, with many projects which used to use subversion converting to it, so I’ve decided to try it out myself. RPMForge only has version 1.5, so like the other software I’ve been using, I’ve converted Fedora 11’s rpm to CentOS and put it in the Webtatic repository.

Update 2010-02-14 – Updated Git 1.6.6 to 1.7.0

Update 2010-03-11 – Updated to 1.7.02, now suggesting using the EPEL repository rather than RPMForge

You will need to have the Fedora EPEL 5 repository set up as a yum repository for this, as I didn’t go as far as compiling each dependency (there are loads of perl modules required and I didn’t want to convert each of them).

To do this run:

rpm -ivh http://download.fedora.redhat.com/pub/epel/5/`uname -i`/epel-release-5-3.noarch.rpm

Next, if you haven’t set up the Webtatic repository in yum, then add it in the command-line as following:

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

Now install git:

yum install --enablerepo=webtatic git-all

Related Posts

One Response to “Git 1.7.0.2 on CentOS 5”

  1. Paul says:

    Thanks for the repo really appreciate having an up to date version of git available for easy installation on CentOS.

Leave a Reply