{{ !articles[0].partner.isSponsoringArticle ? "Platinum" : "Portal" }} Partner
server,devops,tool,tips and tricks,git,tools & methods

Installing Git on Ubuntu

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

Published at DZone with permission of {{ articles[0].authors[0].realName }}, DZone MVB. (source)

Opinions expressed by DZone contributors are their own.

{{ tag }}, {{tag}},

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

{{ parent.tldr }}

{{ parent.urlSource.name }}
{{ parent.authors[0].realName || parent.author}}

{{ parent.authors[0].tagline || parent.tagline }}

{{ parent.views }} ViewsClicks