Skip to content

Installation

Install Rustalink from source using the commands for your operating system.

Terminal window
# System dependencies used in CI builds
sudo apt-get update
sudo apt-get install -y \
cmake \
pkg-config \
libclang-dev \
clang \
git \
build-essential \
perl
# Install Rust stable toolchain
curl https://sh.rustup.rs -sSf | sh -s -- -y
source "$HOME/.cargo/env"
# Build Rustalink
cargo build --release --locked

Optional cross-compile dependencies for Linux ARM64:

Terminal window
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
rustup target add aarch64-unknown-linux-gnu
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
cargo build --release --locked --target aarch64-unknown-linux-gnu
  1. Copy the sample config and adjust values for your environment.
  2. Start Rustalink with your preferred runtime method.
  3. See Docker and Pterodactyl pages if you prefer containerized deployment.