Last active
March 29, 2019 16:24
-
-
Save random-robbie/cb44b8221091553a067b43ec715cf3fe to your computer and use it in GitHub Desktop.
This file contains 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
echo 'Installing go...' | |
wget https://dl.google.com/go/go1.11.5.linux-armv6l.tar.gz | |
sudo tar -C /usr/local -xzf go1.11.5.linux-armv6l.tar.gz | |
rm go1.11.5.linux-armv6l.tar.gz | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/go | |
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin | |
echo 'export GOROOT=/usr/local/go' >> ~/.bashrc | |
echo 'export GOPATH=$HOME/go' >> ~/.bashrc | |
echo 'export PATH=$PATH:$GOROOT/bin:$GOPATH/bin' >> ~/.bashrc |
Author
random-robbie
commented
Feb 18, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment