Ubuntu – Install a more recent version of git on a LTS

10.04git

I can't upgrade my lucid lynx 10.04 LTS because newer distributions of ubuntu don't work on that computer. I need to install a git version 1.7.10 for credential management. Git version is 1.7.0.4 on 10.04 LTS:

$ dpkg -l *git*
+++-==============-==============-============================================
ii  git-core       1:1.7.0.4-1ubu fast, scalable, distributed revision control

Is there a way or a backport to install git 1.7.10 or newer ?

Best Answer

The PPA ppa:git-core/ppa provides backports of the most current stable version of Git for various Ubuntu versions.

On the command line you can add the PPA using:

sudo add-apt-repository ppa:git-core/ppa

If you receive an error stating add-apt-repository was not found, install it with:

sudo apt-get install python-software-properties
Related Question