官方安装指导:
https://github.com/ethereum/go-ethereum/wiki/Installation-Instructions-for-Ubuntu
不要在线安装golang,源码进行安装:
curl -O https://storage.googleapis.com/golang/go1.9.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.9.2.linux-amd64.tar.gz
mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> /etc/profile
echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> /etc/profile
source /etc/profile
有疑问加站长微信联系(非本文作者)