How To Install libbtrfs on Fedora 34
Introduction
In this tutorial we learn how to install libbtrfs
on Fedora 34.
What is libbtrfs
libbtrfs contains the main library used by btrfs filesystem-specific programs. libbtrfs 5.13.1 1.fc34 x86_64 101 k btrfs-progs-5.13.1-1.fc34.src.rpm updates btrfs filesystem-specific runtime libraries https GPLv2 libbtrfs contains the main library used by btrfs filesystem-specific programs.
We can use yum
or dnf
to install libbtrfs
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libbtrfs.
Install libbtrfs on Fedora 34 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libbtrfs
using dnf
by running the following command:
sudo dnf -y install libbtrfs
Install libbtrfs on Fedora 34 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
Fedora 34 - x86_64 20 kB/s | 6.6 kB 00:00
Fedora 34 openh264 (From Cisco) - x86_64 1.4 kB/s | 989 B 00:00
Fedora Modular 34 - x86_64 68 kB/s | 6.5 kB 00:00
Fedora 34 - x86_64 - Updates 3.5 kB/s | 6.2 kB 00:01
Fedora Modular 34 - x86_64 - Updates 17 kB/s | 5.9 kB 00:00
Metadata cache created.
After updating yum database, We can install libbtrfs
using yum
by running the following command:
sudo yum -y install libbtrfs
How To Uninstall libbtrfs on Fedora 34
To uninstall only the libbtrfs
package we can use the following command:
sudo dnf remove libbtrfs
libbtrfs Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/72af3f45f6d45a4c9025fd860a602b79149d87
/usr/lib64/libbtrfs.so.0
/usr/lib64/libbtrfs.so.0.1
/usr/share/licenses/libbtrfs
/usr/share/licenses/libbtrfs/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/75
/usr/lib/.build-id/75/c2772e2f0ffb539f70068da483f6eb8a8f09f7
/usr/lib/libbtrfs.so.0
/usr/lib/libbtrfs.so.0.1
/usr/share/licenses/libbtrfs
/usr/share/licenses/libbtrfs/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/a8
/usr/lib/.build-id/a8/8704284bfaf145f366dbfe6c68936bb206bf39
/usr/lib64/libbtrfs.so.0
/usr/lib64/libbtrfs.so.0.1
/usr/share/licenses/libbtrfs
/usr/share/licenses/libbtrfs/COPYING
/usr/lib/.build-id
/usr/lib/.build-id/db/3b3b1e8f1b466dcbff2c51807fe5654327e3f1
/usr/lib/libbtrfs.so.0
/usr/lib/libbtrfs.so.0.1
/usr/share/licenses/libbtrfs
/usr/share/licenses/libbtrfs/COPYING
References
- [libbtrfs website](https://btrfs.wiki.kernel.org/index.php/Main_Page https://btrfs.wiki.kernel.org/index.php/Main_Page)
Summary
In this tutorial we learn how to install libbtrfs
on Fedora 34 using yum and dnf.