在OS X上找不到bash curl命令。我在哪里可以找到它?
发布时间:2020-12-15 19:05:22 所属栏目:安全 来源:网络整理
导读:我不知道自己是在做什么,我对编程非常陌生并且想要自己学习。我正在尝试用ruby -e“$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)安装自制软件,结果是”-bash:curl:command not found“ 我一直在搜索谷歌,但似乎无法找到任何帮助我的东西。当
我不知道自己是在做什么,我对编程非常陌生并且想要自己学习。我正在尝试用ruby -e“$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)安装自制软件,结果是”-bash:curl:command not found“
我一直在搜索谷歌,但似乎无法找到任何帮助我的东西。当我键入哪个卷曲时,它只是进入下一行终端,好像我刚刚打开终端… 当我输入curl-config时,它为我提供了OPTION的可用值包括: --built-shared says 'yes' if libcurl was built shared --ca ca bundle install path --cc compiler --cflags pre-processor and compiler flags --checkfor [version] check for (lib)curl of the specified version --configure the arguments given to configure when building curl --features newline separated list of enabled features --help display this help and exit --libs library linking information --prefix curl install prefix --protocols newline separated list of enabled protocols --static-libs static libcurl library linking information --version output version information --vernum output the version information as a number (hexadecimal) 然后我尝试任何像curl –version的那些,并且它没有找到相同的curl命令
作为替代方案,您可以使用wget:
ruby -e "$(wget -qO - 'https://raw.github.com/mxcl/homebrew/go')" (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- angularjs – 如何在Angular UI路由器中预加载模板?
- twitter-bootstrap – 文本和图标在引导按钮中的垂直对齐
- scala – Spark抛出java.util.NoSuchElementException:找不
- scala – “Overriding”继承了方差
- angularjs – angular ng-repeat不起作用
- Angular 4中的长轮询
- 在Scala演员中访问共享资源的正确方法
- angularjs – Angular指令在HTML表格中无法正常工作
- unix – 使用与重定向相同的stdin和stdout文件
- shell – 从UNIX中的进程ID获取端口号