list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
From: Taylor Blau <>
To: Junio C Hamano <>
Cc: Matthew Glassman <>,
Subject: Re: Trying to update GIT in Ubuntu 18.04
Date: Fri, 24 Jul 2020 12:13:09 -0400	[thread overview]
Message-ID: <20200724161309.GA13769@syl.lan> (raw)
In-Reply-To: <>

On Thu, Jul 23, 2020 at 02:33:06PM -0700, Junio C Hamano wrote:
> Matthew Glassman <> writes:
> > My git version is listed as 2.17.1.  If I try to just do sudo apt
> > install git..It will tell me I have the latest version and this is
> > after running apt update.  I can not get the PPA to work because there
> > is no GPG Key to input and thus Ubuntu will automatically keep it from
> > use due to insecurity.  Can you please advise me on how to best update
> > GIT to the current stable version please.
> Unless installing from the source is an option, you are at the mercy
> of your distro packagers.

...especially on a long-term support release, like Ubuntu 18.04. I was
skimming through the changelog for their version of 2.17.1 [1], and I
was glad to see that all of the recent security fixes that I could think
of had been backported down to those tracks.

It's good to be on a modern version (and Junio provided some great
advice about how to build Git from source above), but if the best that
your distro provides is 2.17.1 with their backports on top, that's
pretty good, too.

> But it shouldn't be hard if you are on a mainstream platforms (any
> recent Linux certainly qualifies) to build and install from the
> source.
> Using "make --prefix=$HOME/gitstuff install install-doc" and adding
> "$HOME/gitstuff/bin" early in the $PATH would let you use the one
> that you built, without uninstalling what came from the distro
> (typically in /usr/bin).



  reply	other threads:[~2020-07-24 16:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-23 20:12 Matthew Glassman
2020-07-23 21:33 ` Junio C Hamano
2020-07-24 16:13   ` Taylor Blau [this message]
2020-07-24 16:39 ` Peter van der Does

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200724161309.GA13769@syl.lan \ \ \ \ \
    --subject='Re: Trying to update GIT in Ubuntu 18.04' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).