How do I install cURL on cygwin?

前端 未结 17 2130
夕颜
夕颜 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:56

    If you don't see a certain package, you can access to a full list of ports (also unnoficials, the packages you see on the web) launching the setup.exe with -k argument with value http://cygwinports.org/ports.gpg (example: C:\cygwin\setup\setup-x86.exe -K http://cygwinports.org/ports.gpg).

    Doing so, you can choose a lot of extra packages, also extra versions of cURL (compat one). I do that to get Apache, cUrl, php5, php5-curl and some others :)

    I don't know if apt-cyg can get those extra packages.

提交回复
热议问题