$ curl https://sh.rustup.rs -sSf | sh
$ source $HOME/.cargo/env
$ rustup component add rustfmtWhen building the master branch, please make sure you are using the latest stable rust version by running:
$ rustup updateWhen building a specific release branch, you should check the rust version in ci/rust-version.sh and if necessary, install that version by running:
$ rustup install VERSIONNote that if this is not the latest rust version on your machine, cargo commands may require an override in order to use the correct version.
On Linux systems you may need to install libssl-dev, pkg-config, zlib1g-dev, protobuf etc.
On Ubuntu:
$ sudo apt-get update
$ sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang cmake make libprotobuf-dev protobuf-compiler libclang-devOn Fedora:
$ sudo dnf install openssl-devel systemd-devel pkg-config zlib-devel llvm clang cmake make protobuf-devel protobuf-compiler perl-core libclang-dev$ git clone https://github.com/concilium-labs/concilium.git
$ cd concilium$ ./cargo buildNote
Note that this builds a debug version.