Skip to content

Instantly share code, notes, and snippets.

@bigsan
Forked from pcgeek86/install_go_pi.sh
Last active January 7, 2021 16:10
Show Gist options
  • Save bigsan/c936451ed1a5b18bb8b0d7e8cc3e7212 to your computer and use it in GitHub Desktop.
Save bigsan/c936451ed1a5b18bb8b0d7e8cc3e7212 to your computer and use it in GitHub Desktop.
Install Go Lang 1.12.5 on Raspberry Pi 3 B+
cd $HOME
FileName='go1.12.5.linux-armv6l.tar.gz'
wget https://dl.google.com/go/$FileName
sudo tar -C /usr/local -xvf $FileName
cat >> ~/.bashrc << 'EOF'
export GOPATH=$HOME/go
export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin
EOF
source ~/.bashrc
@berk-can
Copy link

berk-can commented Jul 8, 2019

Thank you so much

@cristiancirstea
Copy link

Thank you! I searched a long time for this.

@4Ginik4
Copy link

4Ginik4 commented Apr 14, 2020

What's to do after the script if I run go version it doesn't show anything

@topherCantrell-vertiv
Copy link

worked perfectly. thank you

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