Requirements
This guide assumes you are building the project with a Debian based system. You can also do so on other Linux distributions or Windows but you'll have to adapt the instructions accordingly.
Installing the Rust Toolchain
Use the official instructions to install the Rust Toolchain onto your system.
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
This installs rustup, which is the version manager for the Rust language and its build tools.
Additionally you'll use cargo that is the build tool and package/dependency manager for Rust projects.
Both are installed with the script and can be found under the ~/.cargo/bin directory.
So make sure to include the directory in your PATH environment variable (the installation script should automatically do so).
export PATH=$PATH:~/.cargo/bin
System Dependencies
Some shared libraries and executables are also required for building and running Trajectory-Trace.
libpq-devThe database driver for PostgreSQLlibssl-devAs the OpenSSL implementationprotobuf-compilerFor compiling protobuf schemas
- apt
sudo apt install \
pkg-config \
libssl-dev \
libpq-dev
