/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
Brew自動安裝程序運行完成
國內(nèi)地址已經(jīng)配置完成
桌面的Old_Homebrew文件夾损姜,大致看看沒有你需要的可以刪除赁咙。
初步介紹幾個brew命令
本地軟件庫列表:brew ls
查找軟件:brew search google(其中g(shù)oogle替換為要查找的關(guān)鍵字)
查看brew版本:brew -v 更新brew版本:brew update
安裝cask軟件:brew install --cask firefox 把firefox換成你要安裝的
歡迎右鍵點擊下方地址-打開URL 來給點個贊
https://zhuanlan.zhihu.com/p/111014448
重啟終端 或者 運行 source /Users/lijunjie/.zprofile 否則可能無法使用
# 這個忽略
pip install -i https://test.pypi.org/simple/ monkey==0.3.5
升級了big sur馅精,最近在學(xué)決策樹算法展蒂,想安裝個可視化工具brew install graphviz報錯:
Error: Failure while executing; `tar --extract --no-same-owner --file /Users/***/Library/Caches/Homebrew/downloads/f91778f36d2ecd91aa860fcf98570915a04398b882bd640aa6426021d69e13e6--libtiff-4.3.0.big_sur.bottle.tar.gz --directory /private/tmp/d20210720-32059-15h5t5u` exited with 1. Here's the output:
tar: Error opening archive: Failed to open '/Users/***/Library/Caches/Homebrew/downloads/f91778f36d2ecd91aa860fcf98570915a04398b882bd640aa6426021d69e13e6--libtiff-4.3.0.big_sur.bottle.tar.gz'
解決方案:替換homebrew-bottles
原文鏈接:https://blog.csdn.net/ljl6158999/article/details/118144440
echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles' >> ~/.zshrc
source ~/.zshrc
然后再去brew安裝赚窃,就成功了佃却。