1

I want to download android source code. I followed following steps,

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
$ mkdir android-source
$ cd android-source
$ repo init -u https://android.googlesource.com/platform/manifest

but getting error

**Get https://gerrit.googlesource.com/git-repo
fatal: Unable to find remote helper for 'https'**

I am using Ubuntu-10.04 and I have installed required all the packages and followed all the step mentioned over here

Any help would be appreciated,

Thanks, Nirav

Nirav Dangi
  • 3,607
  • 4
  • 49
  • 60
  • Make sure you have curl-devel installed http://stackoverflow.com/questions/8329485/git-clone-fatal-unable-to-find-remote-helper-for-https – spuder Apr 02 '13 at 16:19
  • Although you have curl, you didn't install libcurl-devel. Install it and try again. – StarPinkER Apr 03 '13 at 00:25
  • 1
    Unable to install curl-devel & libcurl-devel. Getting error "Building dependency tree Reading state information... Done E: Couldn't find package libcurl-devel" – Nirav Dangi Apr 03 '13 at 05:45

1 Answers1

0

If you can't get curl to work, you can use

wget -O - https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

instead.

BTW, you can check if your curl version supports https by running

curl -V

which should print "https" somewhere if it does.

deubeuliou
  • 174
  • 8