Last active
August 12, 2021 23:05
-
-
Save UbuntuEvangelist/548d48b4bd3c03fc655705a0f9b74fb1 to your computer and use it in GitHub Desktop.
Linuxbrew (un) install Linux
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
| #!/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