Skip to content

Instantly share code, notes, and snippets.

@UbuntuEvangelist
Last active August 12, 2021 23:05
Show Gist options
  • Save UbuntuEvangelist/548d48b4bd3c03fc655705a0f9b74fb1 to your computer and use it in GitHub Desktop.
Save UbuntuEvangelist/548d48b4bd3c03fc655705a0f9b74fb1 to your computer and use it in GitHub Desktop.
Linuxbrew (un) install Linux
#!/bin/sh
# Linuxbrew (un)installer
# Install Linuxbrew
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
sudo apt-get install build-essential
echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >>~/.profile
eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
brew install gcc
brew help
# Uninstall Linuxbrew
# /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/uninstall)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment