我不知道自己要进入什么领域,我对编程和尝试自己学习非常陌生。我正在尝试使用安装自制软件,ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)
结果是“ -bash:curl:找不到命令”
我一直在搜索Google,但似乎找不到任何帮助。当我键入时,which curl
它就像进入终端一样进入终端的下一行...
我已经安装了安装了命令行工具的xcode,甚至在遇到问题时也重新下载了它。没关系,但是我尝试安装自制软件的原因是dnscrypt需要libsodium。
当我键入时,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')"
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句