Git Packages for Ubuntu

I have a Ubuntu repository for git. It’s hosted at Launchpad and I try to build packages of the latest git version within a few days after it’s official release. The official homepage of git can be found at http://git-scm.com/.
The only time I will announce an update of git on my blog is when it is a new upstream release. All other updates I will announce on my twitter account @avhsoftware.

Current version: 1.7.9

Git is available for the following Ubuntu distributions:

  • Ubuntu 11.10 (Oneiric)
  • Ubuntu 11.04 (Natty)
  • Ubuntu 10.10 (Maverick)

To add my Ubuntu git repository to your system follow one of these two instructions:

sudo add-apt-repository ppa:pdoes/ppa

Donate

The creation of the git packages for Ubuntu is done in my spare time. If you use the packages please consider a donation. There are several ways you can show your appreciation:

  • Amazon Wish List
    You can send me something from my Amazon Wish List.
  • Through Paypal.
    Click on the Donate button and you will be directed to Paypal where you can make your donation and you don’t have to have a Paypal account.

Liked this article?


Share this article with others!

Share

Showing 15 comments
Skip to the end and leave a comment.
  1. Millisami

    Does this work with Ubuntu Lucid Lynx ??

  2. Peter

    Yes it should. I added Lucid yesterday. Thank you for the comment, it showed me to update the page

  3. Evan Scott

    Is your key server up? I am getting a timout from the apt-key command?

    regards,
    evan

    • Lorne

      Key server still appears to be down or is down again.

      • Peter

        I added a new way to add my repository. Check to see if this will get you the key. The keyserver is not administrated by me but by Canonical, so unfortunately there’s not much I can do when it’s down.

  4. ninja overlord

    What is the name of the package which we should apt-get once we’ve added your repository?

    • Peter

      Depending on which Ubuntu version, prior to Lucid it would be git-core and starting with Lucid you can use git.

  5. tebee

    Following your instruction i got successful prompt.
    What could i have into /var/lib/apt/lists directory?

    Further, i am following “How to compile.. 10.10 kernel” and the preparation step
    apt-get build-dep linux
    and it gives a error of missing:
    ppa.launchpad.net_pdoes_ppa_ubuntu_dists_mawerik_main_source_Sources

    Where i am wrong?

    • Peter

      It looks like a typo, it’s maverick not mawerick.

  6. Ulysses

    Installed great. The easiest install ever. I just posted an article about your repository. Thanks so much.

  7. buffalobillion

    Thanks, man! You saved my bacon having this ppa available.

  8. Dariusz Kordonski

    Thanks man, that’s gold!

  9. Fredrik Lundström

    Hi,

    I’ve changed from Ubuntu 10 to Ubuntu 11.10, but after I did apt-get install git, I found out it still was too old, so I once again needed to upgrade git to >= 1.7.6.

    A few months ago, the suggestion “sudo add-apt-repository ppa:pdoes/ppa/ubuntu” worked, but now, the URL seems to be changed to “sudo add-apt-repository ppa:pdoes/ppa” instead.

    However, I got errors such as

    Preparing to replace git 1:1.7.5.4-1 (using …/git_2%3a1.7.8.3-0avh1~oneiric_i386.deb) …
    mv: `/usr/lib/git-core/git-add.tmp’ and `/usr/lib/git-core/git-add’ are the same file
    dpkg: error processing /var/cache/apt/archives/git_2%3a1.7.8.3-0avh1~oneiric_i386.deb (–unpack):
    subprocess new pre-installation script returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/git_2%3a1.7.8.3-0avh1~oneiric_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Trying to remove git again with sudo apt-get remove git revealee that

    You might want to run ‘apt-get -f install’ to correct these:
    The following packages have unmet dependencies:
    gitk : Depends: git (> 2:1.7.8.3) but it is not going to be installed
    Depends: git (< 2:1.7.8.3-.) but it is not going to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

    In order to resolve these issued, I had to
    sudo apt-get -f remove git-man git-doc gitk
    then I could
    sudo apt-get install git gitk

  10. Sahab

    If we run the command

    sudo apt-get install git gitk

    in ubuntu 10.04, which version of git is normally installed??

    • Peter

      I believe in Lucid git is not the git you are looking for, you need to use git-core, but I could be wrong on that one.
      The version that comes with Lucid of git is 1.7.0.4

  11.  

Leave a comment

For questions and/or support consider using the forums.

download