Ruby on Rails/*

My RoR (and related) Notes

How to install git on ubuntu

Posted by uthfasbethud on April 18, 2008

Piku’s post on this subject worked for me.

7 Responses to “How to install git on ubuntu”

  1. Bob Says:

    wow that’s genius, i never even considered that would work! thanks, you saved me a tonne of time!

  2. uthfasbethud Says:

    Thanks Bob, we try to please!

  3. Piku Says:

    If you need the latest version of git you need to compile it yourself. I have a post on my blog if you are interested.

  4. uthfasbethud Says:

    Hey Piku, thanks for the comment.
    When following your post (http://ropiku.wordpress.com/2008/04/14/updating-git-on-ubuntu/), for the line:
    sudo apt-get build-dep git-core
    I get:
    E: Unable to find a source package for git-core
    It all ends up working, but can you enlighten as to why I get this error?

  5. Piku Says:

    What version of Ubuntu are you running ?
    I tried this on 7.10 Gutsy and 8.04 Hardy and it is working fine.

  6. uthfasbethud Says:

    It is indeed also working fine for me - I just had that mystery error and was wondering about it. I’ve updated the post to direct folks to your post.

    Thanks

  7. uthfasbethud Says:

    just a note. now i formatted gutsy and install fresh hardy, piku’s instructions installed git without any errors this time.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>