Skip to content

Instantly share code, notes, and snippets.

@joeabbey
Forked from pcgeek86/install_go_pi.sh
Created June 28, 2019 19:11
Show Gist options
  • Save joeabbey/f8bbcdf1ed35158ecfc37e0e391d4642 to your computer and use it in GitHub Desktop.
Save joeabbey/f8bbcdf1ed35158ecfc37e0e391d4642 to your computer and use it in GitHub Desktop.
Install Go Lang 1.11.1 on Raspberry Pi 3 B+
cd $HOME
FileName='go1.12.6.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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment