]> git.sesse.net Git - bcachefs-tools-debian/blob - INSTALL
e344c53c5086410206bb3b86daa6a176c02d9670
[bcachefs-tools-debian] / INSTALL
1 -- Getting started --
2
3 Dependencies:
4
5  * libaio
6  * libblkid
7  * libkeyutils
8  * liblz4
9  * libscrypt
10  * libsodium
11  * liburcu
12  * libuuid
13  * libzstd
14  * pkg-config
15  * zlib1g
16  * valgrind
17
18 On debian, you can install these with
19     apt install -y pkg-config libaio-dev libblkid-dev libkeyutils-dev \
20         liblz4-dev libscrypt-dev libsodium-dev liburcu-dev libzstd-dev \
21         uuid-dev zlib1g-dev valgrind
22
23 Then, just make && make install
24
25
26 -- Experimental features --
27
28 Experimental fuse support is currently disabled by default. Fuse support is at
29 an early stage and may corrupt your filesystem, so it should only be used for
30 testing. To enable, you'll also need to add:
31
32 * libfuse3
33
34 On debian:
35     apt install -y libfuse3-dev
36
37 Then, make using the BCACHEFS_FUSE environment variable:
38
39 BCACHEFS_FUSE=1 make &&
40
41
42 -- Tests --
43
44 Some tests are available to validate the "bcachefs" binary.  The tests depend
45 on python3 pytest.
46
47 On debian:
48    apt install -u python3-pytest
49
50 Then, you can run the tests via:
51
52    make check