How to install Git on Ubuntu Lucid (10.04)

I’m sure there are tons of blogs out there on the same subject. This is just like a reference for me and others out there who might stumble upon this post. Note that what I have documented here is what worked for me. At the time of writing the latest GIT version was 1.7.1

  1. First we install the dependent packages, thus you wont have to install the packages yourself.
  2. $ sudo aptitude build-dep git-core

  3. Download latest stable GIT release from here
  4. $ wget

  5. Extract the archive and change to the extracted directory
  6. # tar xvzf git-1.7.1.tar.gz
    # cd git-1.7.1/

  7. Run the following
  8. $ ./configure
    $ make
    $ sudo make install

  9. Check installation and clean up
  10. $ git --version
    $ cd ../;rm -r git-1.7.1 git-1.7.1.tar.gz

Tagged , , , , ,

70 thoughts on “How to install Git on Ubuntu Lucid (10.04)

  1. maximus65 says:

    Works with git version
    I had to install gcc to resolve “configure” error
    and install zlib1g-dev & gettext to resolve “make” error

  2. kibyegon says:

    Glad you like it. Thanks

  3. lantrix says:

    Seems like “soodaNoff” is a spam bot :-(
    PS: Is there not git package for 10.04 LTS?!

  4. kibyegon says:

    I guess askimet isn’t bullet proof. I never realized that there were more of the same comments from that bot only that they each link to a different site. Thanks for pointing this out.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: