Fork me on GitHub
#off-topic
<
2016-11-23
>
madstap17:11:47

I am trying to install git on ubuntu 16.04, using the ppa:git-core/ppa repository. The repository leads me to believe that I'll get the latest git version, but git--version is 2.1.4 which is from 2014. Can anyone give me hint on what I'm doing wrong?

lumengxi17:11:58

@madstap did you do a apt-get update before you install it?

lumengxi17:11:12

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

lumengxi17:11:24

this ^ should work in 16.04

madstap17:11:14

yeah, that's exactly what I ran...

madstap17:11:41

I'm in linux mint 18, which should be the same as ubuntu 16.04, right?

madstap17:11:21

maybe git was already installed or something?

geoffs21:11:30

@madstap if it was an old version I would expect a message when you ran apt-get install git. But just in case yo ucould try doing sudo apt upgrade git