Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.