How To Install libtracefs on Fedora 34

libtracefs is Library for access kernel tracefs Library for access kernel tracefs

Introduction

In this tutorial we learn how to install libtracefs on Fedora 34.

What is libtracefs

libtracefs is a library for accessing kernel tracefs libtracefs 1.0.2 2.fc34 x86_64 30 k libtracefs-1.0.2-2.fc34.src.rpm fedora Library for access kernel tracefs https LGPLv2+ and GPLv2+ libtracefs is a library for accessing kernel tracefs

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

Install libtracefs 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 libtracefs using dnf by running the following command:

sudo dnf -y install libtracefs

Install libtracefs 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 libtracefs using yum by running the following command:

sudo yum -y install libtracefs

How To Uninstall libtracefs on Fedora 34

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

sudo dnf remove libtracefs

libtracefs Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/b6
/usr/lib/.build-id/b6/88026c19eebc684653d2ac5e914d52bba2b285
/usr/lib64/libtracefs.so.1
/usr/lib64/libtracefs.so.1.0.2
/usr/share/licenses/libtracefs
/usr/share/licenses/libtracefs/GPL-2.0
/usr/share/licenses/libtracefs/LGPL-2.1
/usr/lib/.build-id
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/c4c9c7415dc72bab2d69222977bab10335fdf9
/usr/lib/libtracefs.so.1
/usr/lib/libtracefs.so.1.0.2
/usr/share/licenses/libtracefs
/usr/share/licenses/libtracefs/GPL-2.0
/usr/share/licenses/libtracefs/LGPL-2.1

References

Summary

In this tutorial we learn how to install libtracefs on Fedora 34 using yum and dnf.