How To Install babeltrace2 on Fedora 36
Introduction
In this tutorial we learn how to install babeltrace2
on Fedora 36.
What is babeltrace2
The Babeltrace 2 project offers a library with a C API, Python 3 bindings, and a command-line tool which makes it very easy for mere mortals to view, convert, transform, and analyze traces. Babeltrace 2 is also the reference parser implementation of the Common Trace Format (CTF), a very versatile trace format followed by various tracers and tools such as LTTng and barectf.
We can use yum
or dnf
to install babeltrace2
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install babeltrace2.
Install babeltrace2 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 babeltrace2
using dnf
by running the following command:
sudo dnf -y install babeltrace2
Install babeltrace2 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 babeltrace2
using yum
by running the following command:
sudo yum -y install babeltrace2
How To Uninstall babeltrace2 on Fedora 36
To uninstall only the babeltrace2
package we can use the following command:
sudo dnf remove babeltrace2
babeltrace2 Package Contents on Fedora 36
/usr/bin/babeltrace2
/usr/lib/.build-id
/usr/lib/.build-id/fc
/usr/lib/.build-id/fc/329e2d9a7449f890e42c08aebd74be8a62c405
/usr/share/doc/babeltrace2
/usr/share/doc/babeltrace2/ChangeLog
/usr/share/doc/babeltrace2/README.adoc
/usr/share/licenses/babeltrace2
/usr/share/licenses/babeltrace2/LICENSE
/usr/share/licenses/babeltrace2/gpl-2.0.txt
/usr/share/licenses/babeltrace2/mit-license.txt
/usr/share/man/man1/babeltrace2-convert.1.gz
/usr/share/man/man1/babeltrace2-help.1.gz
/usr/share/man/man1/babeltrace2-list-plugins.1.gz
/usr/share/man/man1/babeltrace2-query.1.gz
/usr/share/man/man1/babeltrace2-run.1.gz
/usr/share/man/man1/babeltrace2.1.gz
/usr/share/man/man7/babeltrace2-filter.lttng-utils.debug-info.7.gz
/usr/share/man/man7/babeltrace2-filter.utils.muxer.7.gz
/usr/share/man/man7/babeltrace2-filter.utils.trimmer.7.gz
/usr/share/man/man7/babeltrace2-intro.7.gz
/usr/share/man/man7/babeltrace2-plugin-ctf.7.gz
/usr/share/man/man7/babeltrace2-plugin-lttng-utils.7.gz
/usr/share/man/man7/babeltrace2-plugin-text.7.gz
/usr/share/man/man7/babeltrace2-plugin-utils.7.gz
/usr/share/man/man7/babeltrace2-query-babeltrace.support-info.7.gz
/usr/share/man/man7/babeltrace2-query-babeltrace.trace-infos.7.gz
/usr/share/man/man7/babeltrace2-sink.ctf.fs.7.gz
/usr/share/man/man7/babeltrace2-sink.text.details.7.gz
/usr/share/man/man7/babeltrace2-sink.text.pretty.7.gz
/usr/share/man/man7/babeltrace2-sink.utils.counter.7.gz
/usr/share/man/man7/babeltrace2-sink.utils.dummy.7.gz
/usr/share/man/man7/babeltrace2-source.ctf.fs.7.gz
/usr/share/man/man7/babeltrace2-source.ctf.lttng-live.7.gz
/usr/share/man/man7/babeltrace2-source.text.dmesg.7.gz
References
Summary
In this tutorial we learn how to install babeltrace2
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).