Mac安裝home brew步驟

2021-10-06 11:18:26 字數 1108 閱讀 7260

修改其中的一行**:

#brew_repo = "".freeze

brew_repo = "git:".freeze

然後開啟終端執行:

/usr/bin/ruby 這裡跟上你剛才修改好的brew_install 檔案路徑
然後空格、輸入密碼、等待執行完成

運氣好的話,執行成功

我這不行,失敗,擺報錯是下面的資訊

cloning into '/usr/local/homebrew/library/taps/homebrew/homebrew-core'...

fatal: unable to access '': libressl ssl_read: ssl_error_syscall, errno 54

error: failure while executing; `git clone /usr/local/homebrew/library/taps/homebrew/homebrew-core --depth=1` exited with 128.

error: failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.

這裡我是直接貼上別的**上的錯誤,我自己的錯誤找不到了。報錯一樣。

然後按照順序在終端執行以下**:

// 執行下面這句命令,更換為中科院的映象:

git clone git: /usr/local/homebrew/library/taps/homebrew/homebrew-core --depth=1

// 把homebrew-core的映象位址也設為中科院的國內映象

// 更新

brew update

Mac 安裝home brew出錯

mark翻車經過 鹿晗公開戀情了。hhhh跟我沒有關係,老薛got7 好!安裝homebrew的時候翻車了。原因大概是不懂mac得.git config的許可權,強行回憶了一波作業系統裡許可權管理的問題,解決了。翻車現場大概是這樣 在terminal裡輸出 usr bin ruby e curl f...

Mac終端安裝Homebrew

homebrew,homebrew簡稱brew,是mac osx上的軟體包管理工具,能在mac中方便的安裝軟體或者解除安裝軟體。1.開啟mac的終端 2.輸入安裝命令 ruby e curl fssl 3.執行上述命令後會提示輸入系統密碼 輸入如下命令進行解除安裝 複製內容到剪貼簿 ruby e c...

mac安裝homebrew教程

mac安裝homebrew問題記錄 1 首先安裝xcode 終端輸入xcode select install 2 再次輸入ruby e curl insecure fssl 此過程會有多種報錯 1 error rpc failed curl 18 transfer closed with outst...