23 lines
742 B
Plaintext
23 lines
742 B
Plaintext
# based on: https://www.unixmen.com/install-btrfs-tools-on-ubuntu-linux-to-manage-btrfs-operations/
|
|
|
|
dnf install -Y git automake asciidoc.noarch xmlto.x86_64
|
|
dnf --enablerepo=powertools install python3-sphinx
|
|
dnf install -Y e2fsprogs-devel.x86_64 e2fsprogs-libs.x86_64 e2fsprogs.x86_64 libblkid-devel.x86_64
|
|
dnf install -y libzstd.x86_64 libzstd-devel.x86_64
|
|
dnf install -y systemd-devel.x86_64
|
|
dnf install -y python39.x86_64 python36-devel.x86_64
|
|
dnf install -y lzo.x86_64 lzo-devel.x86_64
|
|
|
|
git clone git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
|
|
cd btrfs-progs/
|
|
automake
|
|
./configure
|
|
make
|
|
# if falure on Making documentation, add master_doc = 'index' to Documentation/conf.py
|
|
make install
|
|
|
|
# test
|
|
btrfs version
|
|
|
|
lsblk
|