1:安装git sudo apt install git
2:下载源码 git clone https://github.com/nanocurrency/raiblocks.git
3:进入raiblocks目录
git checkout releases/v12
切换到 releases/v12这个分支
4: sudo apt install gcc
不然运行bash ci/bootstrap_boost.sh的时候回报错
Building Boost.Build engine with toolset ...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
通过命令tail -f bootstrap.log查看log
./build.sh: 17: ./build.sh: cc: not found
通过这个得知需要安装gcc
5:sudo apt install g++
不然运行bash ci/bootstrap_boost.sh会报错
error: toolset gcc initialization:
error: no command provided, default command 'g++' not found
error: initialized from project-config.jam:12