DevOps Zone is brought to you in partnership with:

I am a graduate of University of Westminster UK (IIT) B Sc Software Engineering ( First Class Honours). I am a Sun Certified Java Programmer for Java 2 platform, 1.5 versions (SCJP 1.5). – 93% and a Sun Certified Web Component Developer 97%. I work as a Software Engineer at WSO2. Achala is a DZone MVB and is not an employee of DZone and has posted 21 posts at DZone. You can read more from them at their website. View Full User Profile

Installing Git on Ubuntu

01.25.2013
| 1338 views |
  • submit to reddit

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 urlE.g: git clone git://git.kernel.org/pub/scm/git/git.git

Published at DZone with permission of Achala Chathuranga Aponso, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)