Forked from warking/install_linuxbrew_on_centos7.sh
Last active
September 5, 2023 12:24
-
-
Save thiagogenez/8492c154234d8d1e80cdeb5bfc782bbe to your computer and use it in GitHub Desktop.
standalone linuxbrew setup script for CentOS 7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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