Skip to content

Instantly share code, notes, and snippets.

@senorprogrammer
Last active September 16, 2018 15:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save senorprogrammer/24eccdd1d3deafa9f79025e8615018f6 to your computer and use it in GitHub Desktop.
Save senorprogrammer/24eccdd1d3deafa9f79025e8615018f6 to your computer and use it in GitHub Desktop.
Installing Go 1.10 on RaspberryPi
# 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