How To Install btrd on Fedora 36

In this tutorial we learn how to install btrd in Fedora 36. btrd is Btrfs debugger

Introduction

In this tutorial we learn how to install btrd on Fedora 36.

What is btrd

btrd is a REPL debugger that helps inspect mounted btrfs filesystems. btrd is particularly useful in exploring on-disk structures and has full knowledge of all on-disk types.

We can use yum or dnf to install btrd on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install btrd.

Install btrd on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install btrd using dnf by running the following command:

sudo dnf -y install btrd

Install btrd on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install btrd using yum by running the following command:

sudo yum -y install btrd

How To Uninstall btrd on Fedora 36

To uninstall only the btrd package we can use the following command:

sudo dnf remove btrd

btrd Package Contents on Fedora 36

/usr/bin/btrd
/usr/lib/.build-id
/usr/lib/.build-id/80
/usr/lib/.build-id/80/ea9105bcca367288ba2e042591a4cd024ec3e5
/usr/share/doc/btrd
/usr/share/doc/btrd/README.md
/usr/share/doc/btrd/scripts
/usr/share/doc/btrd/scripts/block_group_dist.btrd
/usr/share/doc/btrd/scripts/example.btrd
/usr/share/licenses/btrd
/usr/share/licenses/btrd/LICENSE

References

Summary

In this tutorial we learn how to install btrd on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).