Skip to Content
Mobile DevOps
book

Mobile DevOps

by Rohin Tak, Jhalak Modi
March 2018
Intermediate to advanced content levelIntermediate to advanced
376 pages
7h 25m
English
Packt Publishing
Content preview from Mobile DevOps

Installing Git on Ubuntu/Debian systems

To install Git on Ubuntu systems, follow these steps:

  1. From your shell, install Git using the apt-get command:
$ sudo apt-get update
$ sudo apt-get install git  
  1. Verify the installation was successful by typing git --version:
$ git --version
git version 2.9.2  
  1. Configure your Git username and email for a single repository:
$ git config --global user.name "firstname lastname"
$ git config --global user.email "email@gmail.com"  
  1. Install the necessary dependencies using the apt-get command:
$ apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev asciidoc xmlto docbook2x  
  1. Clone the Git source (or if you don't yet have a version of Git installed, download and extract it):
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Modern DevOps

Implementing Modern DevOps

David Gonzalez, Danny Varghese
Java Security

Java Security

Scott Oaks

Publisher Resources

ISBN: 9781788296243Supplemental Content