Skip to content

Instantly share code, notes, and snippets.

@gamesbrewer
Created August 28, 2018 08:34
Show Gist options
  • Save gamesbrewer/7aa1a08a953ca701fd392e23c5ce6ad2 to your computer and use it in GitHub Desktop.
Save gamesbrewer/7aa1a08a953ca701fd392e23c5ce6ad2 to your computer and use it in GitHub Desktop.
install go in rasberry pi 3. in cli just type sudo raspi_go_install.sh
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