Skip to content

Instantly share code, notes, and snippets.

@saydulk saydulk/linuxbrew.sh
Last active May 25, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.