Skip to content

Instantly share code, notes, and snippets.

@random-robbie random-robbie/gopi.sh
Last active Mar 29, 2019

Embed
What would you like to do?
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
@random-robbie

This comment has been minimized.

Copy link
Owner Author

commented Feb 18, 2019

curl https://gist.githubusercontent.com/random-robbie/cb44b8221091553a067b43ec715cf3fe/raw/f3327df9ab1232e3a350fa5472dd6cb791c19072/gopi.sh | sh
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.