tags:

views:

228

answers:

3

I tried to enable curl on cygwin but it says bash: curl: command not found

How do I install curl on cygwin?

A: 

I searched for curl on the cygwin packages part of their home page.

I found this link http://cygwin.com/packages/curl/. But that wasn't helpful because I couldn't download anything

So I searched for the curl-7.20.1-1 cygwin on Google. I found this helpful site mirrors.xmission.com/cygwin/release/curl/

That site had a link to download curl-7.20.1-1.tar.bz2. I unzipped it using 7zip. It unzips it into ./user/bin/ or something so I had to find curl.exe in the local /usr/bin folder and put it into my /bin folder of c:\cygwin

Finally I could use cURL!

This drove me crazy. I hope it helps someone!

Drew LeSueur
Next time use cygwin's setup.exe it will just let you install packages from there. You can also get a program called cyg-apt which works like Debian/Ubuntu's apt-get. http://code.google.com/p/cyg-apt/
slomojo
I tried to run setup.exe, but I couldn't find curl in the list. I don't know what I did wrong.
Drew LeSueur
I tried it later, and this time I found cURL in the list.
Drew LeSueur
A: 

For future reference:

Cygwin comes with many packages (among them curl, as you found: http://cygwin.com/packages/curl/) to install one of them you run the setup.exe program.

adamse
A: 

In the Cygwin package manager, click on curl. Yes, it's that simple.

Jörg W Mittag