Ok sorry for asking again, but somehow it doesn't want to work. I
downloaded curl and repo, and I think I also added it to the PATH
variable, but still the terminal can't find the repo:

This should do it, right? Or is the ~ symbol wrong when I add it to
PATH?

ubu...@ubuntu:~$ sudo apt-get install curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  curl
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 197kB of archives.
After this operation, 311kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com hardy/main curl 7.18.0-1ubuntu2
[197kB]
Fetched 197kB in 0s (246kB/s)
Selecting previously deselected package curl.
(Reading database ... 98223 files and directories currently
installed.)
Unpacking curl (from .../curl_7.18.0-1ubuntu2_i386.deb) ...
Setting up curl (7.18.0-1ubuntu2) ...
ubu...@ubuntu:~$ curl http://android.git.kernel.org/repo >~/bin/repo
  % Total    % Received % Xferd  Average Speed   Time    Time
Time  Current
                                 Dload  Upload   Total   Spent
Left  Speed
100 16989    0 16989    0     0  22294      0 --:--:-- --:--:--
--:--:-- 71556
ubu...@ubuntu:~$ chmod a+x ~/bin/repo
ubu...@ubuntu:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games
ubu...@ubuntu:~$ export PATH=$PATH:~/bin/repo
ubu...@ubuntu:~$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/
games:/home/ubuntu/bin/repo



On Jan 5, 5:15 am, "Avtar Singh" <[email protected]> wrote:
> > Thanks for the answer. How can I download it?
>
> Check the link below- it should 
> do:http://source.android.com/download#TOC-Installing-Repo
>
> Avtar
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to