ramlife

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

安装依赖

sudo apt-get install build-essential procps curl file git

安装

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/ptz/.profile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

然后用 hello 来测试一下

brew install hello

参考

Homebrew on Linux
https://docs.brew.sh/Homebrew-on-Linux

Install Homebrew
https://brew.sh/

posted on 2022-08-11 23:56  ramlife  阅读(786)  评论(0编辑  收藏  举报