I have no idea what I am getting myself into, I am very new to programming and trying to learn on my own. I am trying to install homebrew with ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)
and this the outcome is "-bash: curl: command not found"
I have been searching Google but can't seem to find anything to help me. when I type which curl
it just goes to the next line of terminal as if I just opened terminal...
I have xcode installed with command line tools installed, and even downloaded reinstalled it in case something was wrong with it. Not that it matters but the reason I am attempting to install homebrew is it is needed for libsodium which is needed for dnscrypt.
When I type curl-config
it gives me available values for OPTION include:
--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)
Then I try any of of those like curl --version
and it does the same curl command not found
Inside the src folder you will find the curl executable file. At this point, you need to copy the executable file and paste it inside a local folder on your PC to be able to run the curl.
All versions of OS X starting with Jaguar (released ten years ago) come with curl/libcurl installed. They support TLS 1.0 through OpenSSL, but not SSH or newer versions of TLS. Also, in case you're wondering, iOS does not ship with curl/libcurl.
Install curl by:
sudo apt-get install curl
As an alternative you can use wget
:
ruby -e "$(wget -qO - 'https://raw.github.com/mxcl/homebrew/go')"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With