How To Install btrfs-progs-devel on Fedora 36

In this tutorial we learn how to install btrfs-progs-devel in Fedora 36. btrfs-progs-devel is btrfs filesystem-specific libraries and headers

lastmod: “2022-08-17” title: “How To Install btrfs-progs-devel on Fedora 36” #image: /images/fedora/36/btrfs-progs-devel-featured.png linkTitle: “btrfs-progs-devel”

type: “docs”

Introduction

description: “In this tutorial we learn how to install btrfs-progs-devel in Fedora 36. btrfs-progs-devel is btrfs filesystem-specific libraries and headers”

date: “2022-08-17” In this tutorial we learn how to install btrfs-progs-devel on Fedora 36. lastmod: “2022-08-17”

#image: /images/fedora/36/btrfs-progs-devel-featured.png

What is btrfs-progs-devel


btrfs-progs-devel contains the libraries and header files needed to develop btrfs filesystem-specific programs. It includes development files for two libraries - libbtrfs (GPLv2) - libbtrfsutil (LGPLv2+) You should install btrfs-progs-devel if you want to develop btrfs filesystem-specific programs.

Introduction

In this tutorial we learn how to install btrfs-progs-devel on Fedora 36. We can use yum or dnf to install btrfs-progs-devel on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install btrfs-progs-devel.

What is btrfs-progs-devel

Install btrfs-progs-devel on Fedora 36 Using dnf

btrfs-progs-devel contains the libraries and header files needed to develop btrfs filesystem-specific programs. It includes development files for two libraries - libbtrfs (GPLv2) - libbtrfsutil (LGPLv2+) You should install btrfs-progs-devel if you want to develop btrfs filesystem-specific programs.
Update yum database with dnf using the following command.

sudo dnf makecache --refresh
We can use `yum` or `dnf` to install `btrfs-progs-devel` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install btrfs-progs-devel.

Install btrfs-progs-devel on Fedora 36 Using dnf

After updating yum database, We can install btrfs-progs-devel using dnf by running the following command:

Update yum database with dnf using the following command.


```bash
sudo dnf -y install btrfs-progs-devel
sudo dnf makecache --refresh


## Install btrfs-progs-devel on Fedora 36 Using yum

After updating yum database, We can install `btrfs-progs-devel` using `dnf` by running the following command:

Update yum database with `yum` using the following command.

```bash
```bash
sudo dnf -y install btrfs-progs-devel

sudo yum makecache –refresh


## Install btrfs-progs-devel on Fedora 36 Using yum

After updating yum database, We can install `btrfs-progs-devel` using `yum` by running the following command:

Update yum database with `yum` using the following command.
```bash

```bash
sudo yum -y install btrfs-progs-devel

sudo yum makecache –refresh

## How To Uninstall btrfs-progs-devel on Fedora 36


After updating yum database, We can install `btrfs-progs-devel` using `yum` by running the following command:
To uninstall only the `btrfs-progs-devel` package we can use the following command:


```bash
```bash
sudo dnf remove btrfs-progs-devel
sudo yum -y install btrfs-progs-devel

## How To Uninstall btrfs-progs-devel on Fedora 36

## btrfs-progs-devel Package Contents on Fedora 36

To uninstall only the `btrfs-progs-devel` package we can use the following command:
```bash

```bash
sudo dnf remove btrfs-progs-devel

btrfs-progs-devel Package Contents on Fedora 36

/usr/include/btrfs
/usr/include/btrfs/ctree.h
/usr/include/btrfs/extent-cache.h
/usr/include/btrfs/extent_io.h
/usr/include/btrfs/ioctl.h
/usr/include/btrfs/kerncompat.h
/usr/include/btrfs/list.h
/usr/include/btrfs/rbtree.h
/usr/include/btrfs/send-stream.h
/usr/include/btrfs/send-utils.h
/usr/include/btrfs/send.h
/usr/include/btrfs/version.h
/usr/include/btrfsutil.h
/usr/lib64/libbtrfs.so
/usr/lib64/libbtrfsutil.so
/usr/lib64/pkgconfig/libbtrfsutil.pc

References

Summary

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

/usr/include/btrfs /usr/include/btrfs/ctree.h /usr/include/btrfs/extent-cache.h /usr/include/btrfs/extent_io.h /usr/include/btrfs/ioctl.h /usr/include/btrfs/kerncompat.h /usr/include/btrfs/list.h /usr/include/btrfs/rbtree.h /usr/include/btrfs/send-stream.h /usr/include/btrfs/send-utils.h /usr/include/btrfs/send.h /usr/include/btrfs/version.h /usr/include/btrfsutil.h /usr/lib/libbtrfs.so /usr/lib/libbtrfsutil.so /usr/lib/pkgconfig/libbtrfsutil.pc


## References

* [btrfs-progs-devel website](https://btrfs.wiki.kernel.org/index.php/Main_Page)

## Summary

In this tutorial we learn how to install `btrfs-progs-devel` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).