summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Glanzmann <thomas@glanzmann.de>2024-03-18 12:57:39 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2024-03-18 14:21:52 -0400
commit8ce35b542458e0fb8cf0675cd6e2cf8f0a8bf90f (patch)
tree5dab7a8759cf216ea65734ef8ade8964ae198b98
parentabfdc593a532abaa40ac6ca87c1e0c86459f8c87 (diff)
Add example to install rust toolchain and add two missing debian build dependencies.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--INSTALL.md6
1 files changed, 5 insertions, 1 deletions
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: