From 8ce35b542458e0fb8cf0675cd6e2cf8f0a8bf90f Mon Sep 17 00:00:00 2001 From: Thomas Glanzmann Date: Mon, 18 Mar 2024 12:57:39 +0100 Subject: [PATCH] Add example to install rust toolchain and add two missing debian build dependencies. Signed-off-by: Kent Overstreet --- INSTALL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 7197d2fc..9b5eab36 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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: