Re: Trying to update GIT in Ubuntu 18.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Glassman <matthewglassman78@xxxxxxxxx> 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).





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux