转载地址

https://blog.csdn.net/qq_36124194/article/details/83658580

安装ethereum

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 --help

检查是否安装成功

go语言的安装

curl -O https://storage.googleapis.com/golang/go1.5.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.5.1.linux-amd64.tar.gz
mkdir -p ~/go; echo "export GOPATH=$HOME/go" >> ~/.bashrc
echo "export PATH=$PATH:$HOME/go/bin:/usr/local/go/bin" >> ~/.bashrc
source ~/.bashrc

如果第一句命令运行不成功,手动下载然后解压

安装solc编译器

sudo add-apt-repository ppa:ethereum/ethereum-qt
sudo add-apt-repository ppa:ethereum/ethereum
sudo apt-get update
sudo apt-get install cpp-ethereum

或者直接

sudo apt-get install solc

相关文章:

  • 2021-06-22
  • 2021-08-23
  • 2022-12-23
  • 2021-11-21
  • 2021-09-13
  • 2022-01-01
  • 2021-07-04
猜你喜欢
  • 2021-11-29
  • 2021-07-14
  • 2021-04-01
  • 2022-01-07
  • 2022-02-07
  • 2022-12-23
  • 2021-08-15
相关资源
相似解决方案