Geth 又名Go Ethereum.是以太坊协议的三种实现之一,由Go语言开发,彻底开源的项目。Geth能够被安装在不少操做系统上,包括Windows、Linux、Mac的OSX、Android或者IOS系统.linux
Geth官网:https://geth.ethereum.org/
Geth的Github地址:https://github.com/ethereum/go-ethereumgit
Geth是以太坊协议的具体落地实现,经过Geth,你能够实现以太坊的各类功能,如帐户的新建编辑删除,开启挖矿,ether币的转移,智能合约的部署和执行等等github
首先须要保证已安装Golang和C Complier.golang
Golang官方下载地址:https://golang.org/#
下载好后解压:web
tar -C /usr/local -xzf go1.10.2.linux-amd64.tar.gz
添加环境变量:svg
export PATH=$PATH:/usr/local/go/bin
克隆Github项目:ui
git clone https://github.com/ethereum/go-ethereum.git
进入到文件目录,源码安装:操作系统
cd go-ethereum make geth
wesley@wesley-PC:~/Code/blockchain/go-ethereum/build/bin$./geth version Geth Version: 1.8.9-unstable Git Commit: f6bc65fc681177b190522c92887979690f9ceefa Architecture: amd64 Protocol Versions: [63 62] Network Id: 1 Go Version: go1.10.2 Operating System: linux GOPATH= GOROOT=/usr/local/go
若是信息显示正确,则安装成功.code