Raspberry Pi 安装 Golang 1.6
wget https://storage.googleapis.com/golang/go1.6.linux-armv6l.tar.gz
解压:
sudo tar -zxvf go1.6.linux-armv6l.tar.gz
设定 PATH 以及 GOROOT:
export PATH="/home/osmc/go/bin:$PATH" export GOROOT="/home/osmc/go"
验证:
go version