Install repo on Ubuntu

Repo is a tool that makes it easier to work with Git in the context of Android.

- Before install repo, we have to install curl and git.

To install curl, enter the command in Terminal.

$sudo apt-get install curl

To install git, enter the command.

$sudo apt-get install git

- Then create bin/ directory in home directory, and include it in your path.

$ mkdir ~/bin
$ PATH=~/bin:$PATH

- Download the Repo script and ensure it is executable

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo


To know more about how to download the source code od Android, read here.



thumbnail
Title: Install repo on Ubuntu
Rating: 100% based on 99998 ratings. 10 user reviews.
Post by

Related articles :

0 comments:

Post a Comment

My Blog List

 
Copyright © 2015. About - Web Version - Mobile Version Sitemap - Contact - Privacy