git@vger.kernel.org list mirror (unofficial, one of many)
 help / color / mirror / code / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Matthew Glassman <matthewglassman78@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Trying to update GIT in Ubuntu 18.04
Date: Thu, 23 Jul 2020 14:33:06 -0700	[thread overview]
Message-ID: <xmqqmu3pq5m5.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <CAO-dU=fQZ6YVk1rWw_Tc8YT-i_zH7-hw3GATXmf7hwaqqC3j4Q@mail.gmail.com> (Matthew Glassman's message of "Thu, 23 Jul 2020 16:12:22 -0400")

Matthew Glassman <matthewglassman78@gmail.com> 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
source.

  https://github.com/git/git/blob/master/INSTALL

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

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

  git send-email \
    --in-reply-to=xmqqmu3pq5m5.fsf@gitster.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=matthewglassman78@gmail.com \
    --subject='Re: Trying to update GIT in Ubuntu 18.04' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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:

	https://80x24.org/mirrors/git.git

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).