Prerequisites

This page describes how to install the prerequisites required to build the project on Ubuntu (20.04 LTS) and Arch Linux.

Ubuntu (22.04 LTS)

The packages given here were tested under Ubuntu 22.04 LTS, but could also work on later versions of Ubuntu, possibly requiring adjustments.

Install the following required packages:

# apt install git pipx cmake ccache rsync ninja-build libgmp-dev autoconf python3.11

Pipenv

It seems there is a packaging error in Ubuntu 22.04 that basically makes the pipenv package useless. Instead, install pipenv using pipx:

# pipx install pipenv

Please ensure that pipenv is in your PATH afterwards (you may get a warning to run pipx ensurepath).

Rustup

Rustup, a toolchain manager for the Rust programming language, is also required to build the project, but not available in the Ubuntu 20.04 repositories.

The official installation instructions for rustup can be found under https://rustup.rs/. We will assume rustup to be installed in the rest of this guide.

Please ensure that cargo is in your PATH afterwards (you may get a warning to run source "$HOME/.cargo/env").

Arch Linux

The following packages are required to build the project:

# pacman -S git openssh python python-pipenv base-devel cmake ninja ccache rsync rustup