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

Don’t let inefficiencies in software testing lead to delayed deployments and poor quality products. Get the 90 Days to Better QA Guide by Rainforest QA for best practices to avoid these common pitfalls.

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

Discover how to optimize your DevOps workflows with our on-demand QA solution, brought to you in partnership with Rainforest QA.

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 }}