make geth 之后出现了这个错误
更新安装一下golang
sudo apt update
sudo add-apt-repository ppa:longsleep/golang-backports
sudo apt update
sudo apt install -y golang-go
再安装一下依赖与go
# 安装依赖与go
sudo apt-get install -y build-essential
mkdir -p ~/go
echo "export GOPATH=$HOME/go" >> ~/.bashrc
echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc
然后可能还会遇到没办法直接连接官网下载,那么就要设置一下代理去下载
unset GOPROXY
go env -w GOPROXY=https://goproxy.cn
最后再 sudo make geth 就可以大功告成了
sudo make geth