How to install Git

Installing Git is easy in Ubuntu:

$ sudo apt install git

However, Ubuntu ships with old versions of Git and development on Git is progressing rapidly. New stable releases of Git drop once every 6 months or less.

The latest Git stable releases can be installed using their PPA:

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

Tried with: Ubuntu 15.10 and Git 2.9

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s