Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Installing Git on Ubuntu

DZone's Guide to

Installing Git on Ubuntu

Free Resource

Get the fastest log management and analysis with Graylog open source or enterprise edition free up to 5GB per day

A few libraries need to be installed prior to the installation of Git:

sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext   libz-dev libssl-dev


Next, the following command will install Git:
apt-get install git

Do a git clone to check whether the installation is successful:
git clone url
E.g: git clone git://git.kernel.org/pub/scm/git/git.git

Get the fastest log management and analysis with Graylog open source or enterprise edition free up to 5GB per day

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}