Skip to content

Instantly share code, notes, and snippets.

@rsandrade
Forked from random-robbie/install_go_pi.sh
Last active December 26, 2019 07:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rsandrade/f3fc5c11cc4bbe0be8a4070ac3963723 to your computer and use it in GitHub Desktop.
Save rsandrade/f3fc5c11cc4bbe0be8a4070ac3963723 to your computer and use it in GitHub Desktop.
Install Go Lang 1.10.3 on Raspberry Pi 3
wget https://dl.google.com/go/go1.10.3.linux-armv6l.tar.gz
sudo tar -C /usr/local -xvf go1.10.3.linux-armv6l.tar.gz
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc
@constantinedev
Copy link

constantinedev commented Dec 26, 2019

yes this is good command on raspberry pi 3b and 3b+
I have try it
By OS is Ubuntu-MATE 18.04 LST and 16.04 LST
also is work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment