list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <>
To: Matthew Glassman <>
Subject: Re: Trying to update GIT in Ubuntu 18.04
Date: Thu, 23 Jul 2020 14:33:06 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <> (Matthew Glassman's message of "Thu, 23 Jul 2020 16:12:22 -0400")

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.  

But it shouldn't be hard if you are on a mainstream platforms (any
recent Linux certainly qualifies) to build and install from the

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-23 21:33 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 [this message]
2020-07-24 16:13   ` Taylor Blau
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 \ \ \ \ \
    --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).