How could I install brew on macos 10.15.6:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
yields:
curl: (60) SSL certificate problem: unable to get local issuer certificate
More details here: https://curl.haxx.se/docs/sslcerts.html
curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.
Is this a question for StackOverflow or AskDifferent?
git clone brewrepowhereveritis
mv brew Library /usr/local
Related
My attempts to update a pod fail because Cocoapod cannot connect to 50.63.202.24 port 443.
fatal: unable to access 'https://github.com/Homebrew/brew/': Failed to connect to 50.63.202.24 port 443: Operation timed out
Failed during: git fetch origin master:refs/remotes/origin/master --tags --force
I've seen many posts on this problem and unfortunately, the solutions often require access to git master which also fails. I'm not using any proxy and the firewall on my Mac is turned off. Pod updates used to function without a problem for me up until a few months ago.
All the attempts I've made to solve this problem based on suggestions I've seen on the net usually require a similar access attempt which fails as above. As far as I can tell nothing is blocked on my Mac so I don't know where the breakdown is. Can anyone suggest something to check? As I noted, I used to be able to do Github pod updates without a problem and now nothing works.
This problem was fixed when I removed Homebrew directory and installed again brew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew doctor
I'm trying to install cairo on mac 10.13.6 using brew 1.2.2. I'm getting this error:
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
I'm behind a corporate proxy and have set the http_proxy and https_proxy variables. When I use the brew verbose option it looks like it is using Apple's default curl libraries (not sure why, but various comments hint that this version is problematic):
brew install -v cairo
...
Downloading https://...libpng...
/usr/bin/curl --remote-time --location --user-agent ...
curl: (35) error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
Check version:
/usr/bin/curl --version
curl 7.54.0 (x86_64-apple-darwin17.0) libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
I downloaded and built the newest curl library from here. Using this curl install I can download libpng manually.
./configure --prefix=~/curl --with-darwinssl
curl ...libpng... > libpng-1.6.34.tar.xz
I tried to get brew to use this curl install by prefixing my path:
export PATH=~/curl:$PATH
But it looks like brew is still using Apple's curl lib (output did not change from the above).
My question is: how do I make brew use this new curl install? Or am I just on the wrong track to make this work?
I have a problem installing homebrew in mac sierra.
I followed the instructions from this link:
https://coolestguidesontheplanet.com/installing-homebrew-on-macos-sierra-package-manager-for-unix-apps/
This is the command:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
The link exists but when I type this in the terminal, I encounter this error:
curl: (35) Server aborted the SSL handshake
Can anyone suggest a solution to this?
Many thanks, Ill appreciate any help.
https://raw.githubusercontent.com/Homebrew/install/master/install
Open the link in browser and save the file as install.rb.
Then run
ruby install.rb
I run into this issue, and it is caused by the network unstabitily.
My solution is:
Uninstall the homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
Then install it again:
ruby -e "$(curl --insecure -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
It works for me.
Have you tried xcode-select --install before that command? This solution may work on some systems.
Another potential issue is your curl maybe too old. Upgrade to 7.46+ may solve this. You have to build curl from scratch if so.
If nothing helps, and you really want to install brew without second thought, try adding --insecure after -fsSL.
At last, you can always pull the git repo and install manually.
Please use this to install homebrew in MacOS, previous one was deprecated.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
I'm trying to install homebrew for mac. As per the easy homebrew install method I entered:
plpxdc1:~ lpxdc1$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
I get the following error, however:
curl: (22) The requested URL returned error: 403
I realise that there has been a fairly similar question asked on this (Trouble Installing Mac Homebrew, and I've tried following the fixes on there and still no joy. Is there a way to establish where the error is occurring? Suggestions are appreciated.
I'm trying to install ruby using RVM in Cygwin, but I'm getting the error:
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
More details here: http://curl.haxx.se/docs/sslcerts.html
i've looked at this question: Curl Certificate Error when Using RVM to install Ruby 1.9.2
but unfortunately the solution doesn't work for me because curl-config --ca doesn't show anything. I checked with curl-config --configure and it seems the package was compiled with the --without-ca-bundle
how can I work around this?
this is the same question. open ~/.rvm/scripts/fetch and edit every "fetch_command=..." line to have a -k option.
It seems curl in cygwin isn't shipped with its CA certificates bundle. You can download it at http://curl.haxx.se/ca/cacert.pem then use:
CURL_CA_BUNDLE=</path/to/cacert.pem> rvm install <ruby>
If you don't have ~/.rvm directory then do which rvm and then edit [rvm-path]/../scripts/fetch. Each curl command need -k. Ie:
...
fetch_command="curl -k -x${rvm_proxy} -f -L --create-dirs -C - " # -s for silent
else
fetch_command="curl -k -f -L --create-dirs -C - " # -s for silent
...
This worked for Cygwin.