How do I install cURL on cygwin?

前端 未结 17 2132
夕颜
夕颜 2020-12-02 05:23

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

How do I install curl on cygwin?

17条回答
  •  感动是毒
    2020-12-02 05:53

    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!

提交回复
热议问题