简体   繁体   中英

Installing Homebrew with Git 1.8.4.2 (Mac OS X 10.7.5)

I'm trying to install Homebrew on Mac OS X Lion (10.7.5), via these two methods:

  1. git clone https://github.com/Homebrew/brew.git . The error I get is:

fatal: unable to access ' https://github.com/Homebrew/brew.git/ ': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

  1. By downloading the .zip archive and running /usr/local/homebrew/bin/brew install wget . Same error:

error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert
protocol version while accessing https://github.com/Homebrew/homebrew-core/info/refs?service=git-upload-pack

I'm using Git version 1.8.4.2 since I'm on a legacy version of OS X. Is there any way I can tweak the SSL settings to make this work?

TO REITERATE: I am unable to run git higher than 1.8.4.2 because I'm on a legacy OS X. Therefore, telling me to update to a newer version of git kinda shows you didn't read or understand the question in the first place.

使用Tigerbrew解决的问题。

由于github.com删除了安全协议,因此将git的版本至少更新为2.16.3

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM