Add example to install rust toolchain and add two missing debian build dependencies.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Thomas Glanzmann 2024-03-18 12:57:39 +01:00 committed by Kent Overstreet
parent abfdc593a5
commit 8ce35b5424

View File

@ -20,13 +20,17 @@ In addition a recent Rust toolchain is required (rustc, cargo), either by using
[rustup](https://rustup.rs/) or make sure to use a distribution where rustc (>=1.65)
is available.
``` shell
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -- -y --no-modify-path
```
Debian (Bullseye or later) and Ubuntu (20.04 or later): you can install these with
``` shell
apt install -y pkg-config libaio-dev libblkid-dev libkeyutils-dev \
liblz4-dev libsodium-dev liburcu-dev libzstd-dev \
uuid-dev zlib1g-dev valgrind libudev-dev udev git build-essential \
python3 python3-docutils libclang-dev
python3 python3-docutils libclang-dev debhelper dh-python
```
Fedora: install the "Development tools" group along with: