安装go-ethereum
在基于Ubuntu的发行版上安装go-ethereum的最简单方法是使用内置的启动板PPA(个人软件包档案)。我们提供的是包含了我们的稳定和开发版本的Ubuntu版本的单PPA仓库trusty
,xenial
,zesty
和artful
。
要启用我们的启动板存储库,请运行:
sudo add-apt-repository -y ppa:ethereum/ethereum
然后安装稳定版的go-ethereum:
sudo apt-get update
sudo apt-get install ethereum
注意
add-apt-repository: command not found
需要安装
apt-get install software-properties-common