14
9
I have installed git through apt-get on debian 7 which gives me:
# git --version
git version 1.7.10.4
I would like to ugrade to the latests version of git. I have tried:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git
But that gives the following errors:
Fetched 6,944 B in 0s (10.1 kB/s)
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/source/Sources 404 Not Found
W: Failed to fetch http://ppa.launchpad.net/git-core/ppa/ubuntu/dists/wheezy/main/binary-amd64/Packages 404 Not Found
I have also tried to follow this guide:
http://backports.debian.org/Instructions/
but I still cannot get the latest git, any suggestions?
1
Why not compile from source (the INSTALL document has some help on that, if you're new to it)?
– nerdwaller – 2013-09-12T21:35:22.060I would download the archive directly for the got website if the launchpad source is broken. – Ramhound – 2013-09-12T22:11:40.067
2Do you really need to? In most cases, installing a newer version is not worth the trouble. Is there a particular feature in the new version that you need? Which version do you have and which one do you want to install? Anyway, you can't use PPAs with Debian, they are an Ubuntu thing. – terdon – 2013-09-12T22:12:41.680