下载源码
cd /usr/local
git clone https://github.com/ethereum/go-ethereum.git
或者(mirror)git clone https://ghproxy.com/https://github.com/ethereum/go-ethereum.git
拓展:如何git clone指定tag版本

git clone -b v1.10.5 https://github.com/ethereum/go-ethereum.git
Building the source
make geth
查看版本号验编译
./build/bin/geth version
配环境
exportGETH=/usr/local/go-ethereum
exportPATH=$PATH:$GETH/build/bin
刷新环境变量
source /etc/profile
查看版本验环境
geth version
版权归原作者 落魚京 所有, 如有侵权,请联系我们删除。