Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
11
rated 0 times [  11] [ 0]  / answers: 1 / hits: 6449  / 3 Years ago, mon, may 31, 2021, 7:46:19

Just installed git via ppa:git-core/ppa and got 1.7.9.5 when the current version is 1.9.2.



$ sudo add-apt-repository ppa:git-core/ppa
You are about to add the following PPA to your system:
The most current stable version of Git for Ubuntu.

For release candidates, go to https://launchpad.net/~git-core/+archive/candidate .
...

$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
...

$ git --version
git version 1.7.9.5
...


As a bonus question, why aren't there more deb packages for widely used apps like git? I know apt-get works fine but I find the PPA system to be kinda haphazard. I don't know if debs would be any better; just wish something better existed.



There's no tarball at http://code.google.com/p/git-core/downloads/list for 1.9.2.


More From » 12.04

 Answers
2

You should update your package list as version 1.9.2 is well available from the git-core ppa.



sudo apt-add-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git=1:1.9.2-0ppa1~precise1

[#25930] Monday, May 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
amelican

Total Points: 162
Total Questions: 116
Total Answers: 108

Location: Guam
Member since Mon, May 29, 2023
1 Year ago
amelican questions
Sun, Aug 14, 22, 01:26, 2 Years ago
Mon, Apr 24, 23, 18:12, 1 Year ago
Wed, Apr 5, 23, 04:30, 1 Year ago
Thu, Sep 1, 22, 02:14, 2 Years ago
Mon, Sep 19, 22, 23:08, 2 Years ago
;