Install Git 2.7.4 On Ubuntu, via PPA

Install Git 2.7.4 on Ubuntu, via PPA. Install Git 2.7.4 on Ubuntu 15.10, Ubuntu 15.04, Ubuntu 14.04 and Ubuntu 14.10 Systems. Git is a version control system developed by Linus Torvalds himself. He needed such a software for sharing code and performing collaboration work with other developers so he had created it.

The latest version available is Git 2.7.4, which comes with the below changes:

  • Bugfix patches were backported from the ‘master’ front to plug heap corruption holes, to catch integer overflow in the computation of pathname lengths, and to get rid of the name_path API. Both of these would have resulted in writing over an under-allocated buffer when formulating pathnames while tree traversal.
  • The appearance of “gitk”, particularly on high DPI monitors, have been improved.  “gitk” also comes with an undated translation for Swedish and Japanese.
  • The infrastructure to rewrite “git submodule” in C is being built incrementally.  Let’s polish these early parts well enough and make them graduate to ‘next’ and ‘master’, so that the more involved follow-up can start cooking on a solid ground.
  • The debugging infrastructure for pkt-line based communication has been improved to mark the side-band communication specifically.
  • The test for various line-ending conversions has been enhanced.
  • A few test scripts around “git p4” have been improved for portability.
  • Also contains various documentation updates and code clean-ups.

Install Git 2.7.4 on Ubuntu, via PPA

Run the following commands in Terminal to install Git 2.7.4 on Ubuntu, via PPA:

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

You can also download the tar file from the official website and then install it on Ubuntu Systems:

tar -xvzf git-2.7.4.tar.gz
make && make install

Note : if you get an error message, run the following command and once again compile it:

apt-get install libssl-dev

Once installed, check the current version of Git installed on the syetem. Run the following command.

$ git --version

If you wish to uninstall and remove Git, run:

$ sudo apt-get remove git

Leave a Reply