MAC 上homebrew
比较好用 因此也准备在centos
上安装 brew
主要参考官网教程
Homebrew 官网
很显然安装失败
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
git clone
方式安装
git clone https://github.com/Linuxbrew/brew.git ~/.linuxbrew
按成成功之后如下图
屏幕快照 2020-03-17 下午2.12.24.png
clone homebrew-core
内核 (这一步有点慢)
git clone https://github.com/Linuxbrew/homebrew-core ~/.linuxbrew/Library/Taps/homebrew
配置bash_profile
export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
source bash_profile
网友评论