操作系统:Ubuntu 18.04.1 LTS
一、安装依赖
- openssl
- cmake
- boost
sudo apt update -y
sudo apt install build-essential checkinstall zlib1g-dev -y
sudo apt install openssl libssl-dev -y
sudo apt install cmake -y
sudo apt install libboost-all-dev -y
二、安装solc
Solidity编译器
git clone --recursive https://github.com/ethereum/solidity.git
cd solidity
mkdir build
cd build
cmake .. && make
sudo make install
# 查看版本号
solc --version
网友评论