Skip to content

Compile Ark server from source

The first step is to get the code. You can clone the code from our git repository.

git clone https://codeberg.org/ark-bitcoin/bark
cd bark

You will also need a Rust compiler. You can find installation instructions on the rustup website for almost any platform.

Additional dependencies can be downloaded using your package manager.

apt update
apt install build-essential clang protobuf-compiler librocksdb-dev

You can build the code using cargo. The cargo build command will only build the binary. The cargo install command will build the the binary and add it to your path.

cargo build --bin aspd
./target/debug/aspd --version
cargo install --locked --path ./aspd
aspd --version

Run aspd --version to verify that the installation completed successfully.