Repo installation

4,026 views
Skip to first unread message

Rijosh

unread,
Apr 16, 2010, 12:23:55 AM4/16/10
to Repo and Gerrit Discussion
Anybody help me 2 install repo... pls tell me the whole procedure who
have done the installation before.. what i have to do exactly from the
beginning..

--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

Furosh One

unread,
Apr 16, 2010, 2:23:54 AM4/16/10
to Rijosh, Repo and Gerrit Discussion
Did you follow: http://source.android.com/download#TOC-Installing-Repo ?

All the steps should be there.

To install, initialize, and configure Repo, follow these steps:

1. Make sure you have a ~/bin directory in your home directory, and
check to be sure that this bin directory is in your path:
$ cd ~
$ mkdir bin
$ echo $PATH
2. Download the repo script and make sure it is executable:
$ >~/bin/repo
$ chmod a+x ~/bin/repo

I did this by doing the following:

# cd ~
# mkdir bin
# cd bin
# curl https://android.git.kernel.org/repo > repo
# ls -ltr
-rw-r--r-- 1 root root 17211 Apr 15 23:19 repo
# chmod a+x repo
# ls -l
-rwxr-xr-x 1 root root 17211 Apr 15 23:19 repo
# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin
# which repo
/root/bin/repo

# repo -h
usage: repo COMMAND [ARGS]

repo is not yet installed. Use "repo init" to install it here.

The most commonly used repo commands are:

init Install repo in the current working directory
help Display detailed help on a command

For access to the full online help, install repo ("repo init").

I did this as root in this example, but I've also done this at work as
my user /home/username account.
Hope this helps....

RIJOSH K

unread,
Apr 16, 2010, 4:47:51 AM4/16/10
to Furosh One, Repo and Gerrit Discussion
It's showing error as could not resolve the host..........
see what i have done...

  mkdir bin
 
  echo $PATH
          /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin
 
  cd bin
 
  curl https://android.git.kernel.org/repo > repo
         curl: (6) Couldn't resolve host 'android.git.kernel.org'



please help.........

Shawn Pearce

unread,
Apr 16, 2010, 10:24:26 AM4/16/10
to RIJOSH K, Furosh One, Repo and Gerrit Discussion
On Fri, Apr 16, 2010 at 01:47, RIJOSH K <ashr...@gmail.com> wrote:
> It's showing error as could not resolve the host..........
> see what i have done...
...
>   curl https://android.git.kernel.org/repo > repo
>          curl: (6) Couldn't resolve host 'android.git.kernel.org'

Looks like you are behind a firewall? You'll have to configure a
network proxy, or talk to your network provider about getting a direct
connection without the need for a proxy. Or, maybe your DNS
configuration just isn't working properly.
Reply all
Reply to author
Forward
0 new messages