标签:
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
标签:
原文地址:http://www.cnblogs.com/stephen2016/p/5967251.html