1. homebrew:macOS(或 Linux)缺失的软件包的管理器
2. 官网: https://brew.sh/index_zh-cn
3. 官网安装命令:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
4. 安装时报告错误,而且速度巨慢
==> Checking for `sudo` access (which may request your password).
==> This script will install:
/opt/homebrew/bin/brew
/opt/homebrew/share/doc/homebrew
/opt/homebrew/share/man/man1/brew.1
/opt/homebrew/share/zsh/site-functions/_brew
/opt/homebrew/etc/bash_completion.d/brew
/opt/homebrewPress RETURN to continue or any other key to abort
==> /usr/bin/sudo /usr/sbin/chown -R lily:admin /opt/homebrew
==> Downloading and installing Homebrew...
fatal: unable to access 'https://github.com/Homebrew/brew/': LibreSSL SSL_connect: SSL_

本文介绍了如何在macOS上安装Homebrew,这是一个管理缺失软件包的工具。在安装过程中遇到速度慢和错误的问题,主要是由于访问GitHub时的网络问题。为了解决这个问题,文章提供了使用国内镜像源的方案,通过执行特定的命令来安装Homebrew,从而加快速度并成功完成安装。安装完成后,需要更新配置文件,之后便可以利用国内镜像源便捷地安装所需的library。

1950

被折叠的 条评论
为什么被折叠?



