How To Install Git 2.3.3 On Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 And Derivative Systems

Hello Linux Geeksters. As you may know, Git is an open-source revision control system. The latest version available is Git 2.3.3, which has been recently released, coming with the below changes and fixes:

  • A corrupt input to “git diff -M” used cause us to segfault.
  • The borrowed code in kwset API did not follow our usual convention to use “unsigned char” to store values that range from 0-255.
  • Description given by “grep -h” for its –exclude-standard option was phrased poorly.
  • Documentaton for “git remote add” mentioned “–tags” and “–no-tags” and it was not clear that fetch from the remote in the future will use the default behaviour when neither is given to override it.
  • “git diff –shortstat –dirstat=changes” showed a dirstat based on lines that was never asked by the end user in addition to the dirstat that the user asked for.
  • The interaction between “git submodule update” and the submodule.*.update configuration was not clearly documented.
  • “git apply” was not very careful about reading from, removing, updating and creating paths outside the working tree (under –index/–cached) or the current directory (when used as a replacement for GNU patch).
  • “git daemon” looked up the hostname even when “%CH” and “%IP” interpolations are not requested, which was unnecessary.
  • The “interpolated-path” option of “git daemon” inserted any string client declared on the “host=” capability request without checking.
  • Sanitize and limit %H and %CH to a saner and a valid DNS name.
  • Contains typofixes, documentation updates and trivial code clean-ups.

For information about this release, see the mailing lists.

In this article I will show you how to install Git 2.3.3 on Ubuntu 15.04 Vivid Vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr, Ubuntu 12.04 Precise Pangolin, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, LXLE 14.04, Peppermint Five, Deepin 2014, Linux Lite 2.0 and other Ubuntu derivative systems.

Because it is available via PPA, installing Git 2.3.3 on Ubuntu 15.04, Ubuntu 14.10, Ubuntu 14.10, Ubuntu 14.04, Ubuntu 12.04 and derivative systems is easy. All you have to do is add the ppa to your system, update the local repository index and install the git package. Like this:

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

Optional, to remove Git 2.3.3, do:

$ sudo apt-get remove git

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!