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

The Nexus Suite is uniquely architected for a DevOps native world and creates value early in the development pipeline, provides precise contextual controls at every phase, and accelerates DevOps innovation with automation you can trust. Read how in this ebook.

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

The DevOps Zone is brought to you in partnership with Sonatype Nexus.  See how the Nexus platform infuses precise open source component intelligence into the DevOps pipeline early, everywhere, and at scale. Read how in this ebook

Topics:

Published at DZone with permission of Achala Chathuranga Aponso, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}