Breaking News
Loading...
Sunday, 3 March 2013

Install repo on Ubuntu

04:46
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.



0 comments:

Post a Comment

 
Toggle Footer