Ubuntu安装以太坊客户端

  1. 安装go ,必须是1.8以上.可以参考我的这篇文章go安装链接
  2. sudo apt-get install -y build-essential
  3. git clone https://github.com/ethereum/go-ethereum
  4. cd go-ethereum
  5. make geth
    到这一步,已经安装完成

    输入下面这行代码
    build/bin/geth version

    如果出现如下输出

Geth
Version: 1.8.0-unstable
Git Commit: 722bac84fa503199b9c485c1a3e2bfba03bc487d
Architecture: amd64
Protocol Versions: [63 62]
Network Id: 1
Go Version: go1.8.1
Operating System: linux
GOPATH=/home/gopath
GOROOT=/usr/local/go

则安装成功

posted @ 2022-08-19 22:58  luoganttcc  阅读(26)  评论(0)    收藏  举报