Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thiagogenez/8492c154234d8d1e80cdeb5bfc782bbe to your computer and use it in GitHub Desktop.
Save thiagogenez/8492c154234d8d1e80cdeb5bfc782bbe to your computer and use it in GitHub Desktop.
standalone linuxbrew setup script for CentOS 7
# Non-root account is recommended for this process
# centos-specific prepration
sudo yum -y update && sudo yum -y groupinstall 'Development Tools' && sudo yum -y install curl irb m4 ruby
# install linuxbrew
git clone https://github.com/Homebrew/brew ~/.linuxbrew/Homebrew
mkdir ~/.linuxbrew/bin
ln -s ~/.linuxbrew/Homebrew/bin/brew ~/.linuxbrew/bin
eval $(~/.linuxbrew/bin/brew shellenv)
export HOMEBREW_NO_AUTO_UPDATE=1
brew doctor
brew config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment