Skip to content

Instantly share code, notes, and snippets.

@International
Forked from random-robbie/install_go_pi.sh
Created August 30, 2018 18:11
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 International/118fcd53c0451730cd8f206f99775815 to your computer and use it in GitHub Desktop.
Save International/118fcd53c0451730cd8f206f99775815 to your computer and use it in GitHub Desktop.
Install Go Lang 1.10.1 on Raspberry Pi 3
wget https://storage.googleapis.com/golang/go1.10.1.linux-armv6l.tar.gz
sudo tar -C /usr/local -xvf go1.10.1.linux-armv6l.tar.gz
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment