* libaio
* libblkid
+ * libclang
* libkeyutils
* liblz4
* libsodium
* zlib1g
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.64)
+[rustup](https://rustup.rs/) or make sure to use a distribution where rustc (>=1.65)
is available.
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 git build-essential \
- python3 python3-docutils
+ uuid-dev zlib1g-dev valgrind libudev-dev udev git build-essential \
+ python3 python3-docutils libclang-dev
```
Fedora: install the "Development tools" group along with:
dnf install -y libaio-devel libsodium-devel \
libblkid-devel libzstd-devel zlib-devel userspace-rcu-devel \
lz4-devel libuuid-devel valgrind-devel keyutils-libs-devel \
- findutils
+ findutils udev systemd-devel llvm-devel
```
Arch: install bcachefs-tools-git from the AUR.
Or to build from source, install build dependencies with
```shell
-pacman -S base-devel libaio keyutils libsodium liburcu zstd valgrind
+pacman -S base-devel libaio keyutils libsodium liburcu zstd valgrind llvm
```
Then, just `make && make install`
apt install -y libfuse3-dev
```
-On Fedora (32 or later needed for lbifuse >= 3.7):
+On Fedora (32 or later needed for libfuse >= 3.7):
```shell
dnf install -y fuse3-devel
```