How do I install cURL on cygwin?

前端 未结 17 2042
夕颜
夕颜 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 06:08

    I just ran into this.

    If you're not seeing curl in the list (see ibaralf's screenshot), then you may have out-of-date cygwin sources. In one of the screens in cygwin's setup.exe wizard, you have the option to "Install from Internet" or "Install from Local Directory". If you have the "Install from Local Directory" option enabled, then you may not see curl in the list. Switch to "Install from Internet" and select a mirror and then you should see curl.

    0 讨论(0)
  • 2020-12-02 06:09

    Even below will install curl

    cd c:\cygwin setup.exe -q -P curl

    0 讨论(0)
  • 2020-12-02 06:10

    In order to install any package,we must first find the setup.exe file.I could not locate this file.so i downloaded this file (or you can do a wget).I am on windows64 bit.So ,if you go to https://cygwin.com/install.html ,you can download setup-x86_64.exe file from the install and updates section,move this setup-x86_64.exe to your c:/cygwin64,and then run it from there ( setup-x86_64.exe -q -P curl)

    0 讨论(0)
  • 2020-12-02 06:14

    You can try:

    apt-cyg install curl
    
    0 讨论(0)
  • 2020-12-02 06:15

    If someone is having problem with finding CURL in the list in setup.exe (Cygwin package manager) then trying downloading 64bit version of this setup. Worked for me.

    0 讨论(0)
提交回复
热议问题