Skip to content

Instantly share code, notes, and snippets.

@gamesbrewer
gamesbrewer / raspi_go_install.sh
Created August 28, 2018 08:34
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