本文介绍在Ubuntu 18.04系统中安装Geth的最新版本v1.8.12,Geth支持Linux、macOS、Windows、Android、iOS操作系统。
Geth 1.8.12主要更新: This release contains the PoC 3 version of Swarm as well as some minor improvements and bug fixes.go-ethereum repository. Read the announcement blog post for more information. 1.Performance changes: The intermediate trie GC buffer now uses less memory The EVM big integer pool is reused across transactions MSTORE and SLOAD EVM instructions are a bit faster 2.Networking changes: A crash in the LES header fetcher is resolved Discovery ping/pong logic uses less goroutines 3.Miscellaneous changes: Log message time stamps are properly aligned again Network ID is set correctly when -dev is set Opcode analysis tracers have been added Geth now supports exporting metrics to InfluxDB
以下介绍的方法在Ubuntu 18.04系统中运行命令安装即可,你也可以下载geth-linux-amd64的tar.gz软件包自行编译安装。
下载链接
安装git的命令: sudo add-apt-repository ppa:git-core/ppa sudo apt-get update sudo apt-get install git
查看是否安装成功: git --version git version 2.18.0
安装geth的命令: sudo apt-get install software-properties-common sudo add-apt-repository -y ppa:ethereum/ethereum sudo apt-get update sudo apt-get install ethereum
查看geth是否安装成功: 运行:geth --help NAME: geth - the go-ethereum command line interface Copyright 2013-2018 The go-ethereum Authors USAGE: geth [options] command [command options] [arguments...] VERSION: 1.8.12-stable-37685930 ...后面就是geth的操作命令,就不一一列举了。
相关主题 |