Build starcoin from source.
Clone source code
git clone https://github.com/starcoinorg/starcoin.git cd starcoin
Setup build environment
./scripts/dev_setup.sh
If your operating system is CentOS 6.x , then use such commands to install some toolset.
yum install centos-release-scl yum install devtoolset-7 . /opt/rh/devtoolset-7/enable
Run debug build
cargo build
Run release build
cargo build --release
The debug version starcoin at target/debug/starcoin, and release version at target/release/starcoin.