Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I currently have Git 1.7.1.0 installed but need to upgrade to 1.7.1.1 (at least). I tried running:

sudo apt-get update
sudo apt-get upgrade

and also tried

sudo apt-get install git-core

but each time I get a message indicating that there is no later version of git available. I have the following software sources configured in /etc/apt/sources.list

deb http://ubunturepo.de.bonial.lan lucid main restricted multiverse universe
deb http://ubunturepo.de.bonial.lan lucid-security main restricted multiverse universe
deb http://ubunturepo.de.bonial.lan lucid-updates main restricted multiverse universe
deb http://archive.canonical.com/ lucid partner
deb http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu lucid main
deb-src http://ppa.launchpad.net/ubuntugis/ubuntugis-unstable/ubuntu lucid main
deb http://archive.ubuntu.com/ubuntu lucid multiverse universe
share|improve this question
    
what do I need to run on the command-line to add this? –  Dónal Apr 8 '13 at 9:10
    
made it an answer. If this does not work please edit it into your question and Ill delete it. –  Rinzwind Apr 8 '13 at 9:14

1 Answer 1

To install the latest stable from command line...

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

This should let you install 1.8.2-1~ppa0~lucid2.

share|improve this answer
    
Is it essential to install python-software-properties ? –  Muhammad Gelbana Apr 5 at 17:13
    
@MuhammadGelbana: Yes, if you don't already have add-apt-repository –  Dennis Williamson Jul 10 at 20:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.