Webtatic.com

Just another technical blog

Git 1.7.2.3 on CentOS 5

Posted 1st September 2009 by Andy | 9 Comments

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-04-05 – Updated to 1.7.0.4, included all dependencies in the repository to remove any dependencies on other repositories

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-1.noarch.rpm

Now install git:

yum install --enablerepo=webtatic git-all

Related Posts

9 Responses to “Git 1.7.2.3 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.

  2. Matthias says:

    Thanks a lot for this repository. I used it a couple of times.

  3. Paul says:

    Thanks a lot for this, saved me a ton of hassle :)

  4. Laurent says:

    Keep up the good work ! It’s really sweet to find a recent version of git for CentOS !

  5. pprkut says:

    Hi! Thanks for that repo. When you have time, do you mind adding gitosis as well. I currently don’t see it available in your repo and I use it a lot. Thanks in advance :)

    • Andy says:

      I’d recommend you install the EPEL repository, which contains this package. Whilst I also use gitosis (the one in EPEL), I might not be able to update it as frequently as I do git, so you’re better getting updates from them.

      https://fedoraproject.org/wiki/EPEL

      I’m considering partially mirroring some packages, which could include it, as well as subversion 1.6 from rpmforge, but will need to sort out a way of automatically checking for updates.

  6. Matt says:

    Great work, thanks a million for this.

  7. Bartb says:

    Thanx for the Git update.

    After the install I get:

    > Importing GPG key …. “Andrew Thompson ” from /etc/pki/rpm-gpg/RPM-GPG-KEY-webtatic-andy
    Is this ok [y/N]?:_

    Why do I have to import you GPG key?

    • Andy says:

      I sign each RPM in the repository, just as CentOS does for it’s packages. Its to ensure that if the repository was compromised, or if using a mirror, you know that I’d only sign legitemate packages (as long as you trust my updates).

      On an initial installation of CentOS you would need to do the same for their repository.

Leave a Reply