Last active
September 16, 2018 15:02
-
-
Save senorprogrammer/24eccdd1d3deafa9f79025e8615018f6 to your computer and use it in GitHub Desktop.
Installing Go 1.10 on RaspberryPi
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
# A condensation of the instructions found here: https://golang.org/doc/install | |
# | |
# For Bash, replace all `.zshrc` with `.bashrc` | |
wget https://dl.google.com/go/go1.10.4.linux-armv6l.tar.gz | |
sudo tar -C /usr/local -xvf go1.10.4.linux-armv6l.tar.gz | |
cat >> ~/.zshrc << 'EOF' | |
export GOPATH=$HOME/go | |
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin | |
EOF | |
source ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment