Following are the steps to help you build the Gafi node on Linux:
sudo apt update
sudo apt install clang
sudo apt-get install build-essential libssl-dev
curl https://sh.rustup.rs -sSf | sh
source ~/.cargo/env
rustup default stable
rustup update
rustup update nightly
rustup target add wasm32-unknown-unknown --toolchain nightly
rustc --version
rustup show
wget https://github.com/Kitware/CMake/releases/download/v3.20.0/cmake-3.20.0.tar.gz
tar -zxvf cmake-3.20.0.tar.gz
cd cmake-3.20.0
./bootstrap
make
sudo make install
cmake --version
git clone https://github.com/grindytech/gafi.git
cd gafi/
make test
make build-dev
make run-dev