How To Install libbabeltrace2 on Fedora 34

libbabeltrace2 is A trace manipulation library A trace manipulation library

Introduction

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

What is libbabeltrace2

The libbabeltrace2 package contains a library and plugin system to view, convert, transform, and analyze traces. libbabeltrace2 2.0.3 4.fc34 x86_64 576 k babeltrace2-2.0.3-4.fc34.src.rpm fedora A trace manipulation library https MIT and GPLv2 The libbabeltrace2 package contains a library and plugin system to view, convert, transform, and analyze traces.

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

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

sudo dnf -y install libbabeltrace2

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

sudo yum -y install libbabeltrace2

How To Uninstall libbabeltrace2 on Fedora 34

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

sudo dnf remove libbabeltrace2

libbabeltrace2 Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/07
/usr/lib/.build-id/07/a7d8630e91ffbb0cdd55d79b0f49a99740d68e
/usr/lib/.build-id/3e
/usr/lib/.build-id/3e/b12854568d135f22bd654d155e2b8202162c62
/usr/lib/.build-id/85
/usr/lib/.build-id/85/17a1c2cec17f7db22dd5c4ad9c34cd84b44fc7
/usr/lib/.build-id/be
/usr/lib/.build-id/be/8ee512813f5505f859af41501d6e977ca85872
/usr/lib/.build-id/c0
/usr/lib/.build-id/c0/70943f56c426afc9d3db51f1b915bded148c4d
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/615ec6e97d4d7246a9008399788fb3bbf9e517
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/d589eace357ad1227fb855fa95ede9b7832abe
/usr/lib/babeltrace2/plugin-providers/babeltrace2-python-plugin-provider.so
/usr/lib/babeltrace2/plugins/babeltrace-plugin-ctf.so
/usr/lib/babeltrace2/plugins/babeltrace-plugin-lttng-utils.so
/usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so
/usr/lib/babeltrace2/plugins/babeltrace-plugin-utils.so
/usr/lib/libbabeltrace2-ctf-writer.so.0
/usr/lib/libbabeltrace2-ctf-writer.so.0.0.0
/usr/lib/libbabeltrace2.so.0
/usr/lib/libbabeltrace2.so.0.0.0
/usr/share/licenses/libbabeltrace2
/usr/share/licenses/libbabeltrace2/LICENSE
/usr/share/licenses/libbabeltrace2/gpl-2.0.txt
/usr/share/licenses/libbabeltrace2/mit-license.txt
/usr/lib/.build-id
/usr/lib/.build-id/0a
/usr/lib/.build-id/0a/495a5230ff5ff26e0b1a51ad2d89b3a2e4d2f0
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/1a205e45ca9abef136190282f64703249d1977
/usr/lib/.build-id/58
/usr/lib/.build-id/58/50beb7471e99883bc880fffb32c5fa9b48ecb7
/usr/lib/.build-id/79
/usr/lib/.build-id/79/5df409de36fbeea75749eb36c5f74d9cb6b691
/usr/lib/.build-id/a6
/usr/lib/.build-id/a6/8aa4a34d546e98d41b68659209ae06d5729004
/usr/lib/.build-id/aa
/usr/lib/.build-id/aa/676ab1badfdcbf5473713dd3e29f54bb4dd802
/usr/lib/.build-id/f9
/usr/lib/.build-id/f9/3084049bae145605aba60a641b87c3e8207e20
/usr/lib64/babeltrace2/plugin-providers/babeltrace2-python-plugin-provider.so
/usr/lib64/babeltrace2/plugins/babeltrace-plugin-ctf.so
/usr/lib64/babeltrace2/plugins/babeltrace-plugin-lttng-utils.so
/usr/lib64/babeltrace2/plugins/babeltrace-plugin-text.so
/usr/lib64/babeltrace2/plugins/babeltrace-plugin-utils.so
/usr/lib64/libbabeltrace2-ctf-writer.so.0
/usr/lib64/libbabeltrace2-ctf-writer.so.0.0.0
/usr/lib64/libbabeltrace2.so.0
/usr/lib64/libbabeltrace2.so.0.0.0
/usr/share/licenses/libbabeltrace2
/usr/share/licenses/libbabeltrace2/LICENSE
/usr/share/licenses/libbabeltrace2/gpl-2.0.txt
/usr/share/licenses/libbabeltrace2/mit-license.txt

References

Summary

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