How To Install libtracecmd on Fedora 36
Introduction
In this tutorial we learn how to install libtracecmd
on Fedora 36.
What is libtracecmd
A library containing functions for getting information and reading tracing instances stored in a trace file that can be used without the trace-cmd application.
We can use yum
or dnf
to install libtracecmd
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install libtracecmd.
Install libtracecmd 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 libtracecmd
using dnf
by running the following command:
sudo dnf -y install libtracecmd
Install libtracecmd 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 libtracecmd
using yum
by running the following command:
sudo yum -y install libtracecmd
How To Uninstall libtracecmd on Fedora 36
To uninstall only the libtracecmd
package we can use the following command:
sudo dnf remove libtracecmd
libtracecmd Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/a5
/usr/lib/.build-id/a5/444c2950a47f05af1c03e93500fc9d97575469
/usr/lib/libtracecmd.so.1
/usr/lib/libtracecmd.so.1.0.0
/usr/share/doc/libtracecmd
/usr/share/doc/libtracecmd-doc
/usr/share/doc/libtracecmd-doc/libtracecmd-files.html
/usr/share/doc/libtracecmd-doc/libtracecmd-instances.html
/usr/share/doc/libtracecmd-doc/libtracecmd-peer.html
/usr/share/doc/libtracecmd-doc/libtracecmd-record.html
/usr/share/doc/libtracecmd-doc/libtracecmd.html
/usr/share/doc/libtracecmd/README
/usr/share/licenses/libtracecmd
/usr/share/licenses/libtracecmd/COPYING
/usr/share/licenses/libtracecmd/COPYING.LIB
/usr/share/man/man3/libtracecmd.3.gz
/usr/share/man/man3/tracecmd_buffer_instance_handle.3.gz
/usr/share/man/man3/tracecmd_buffer_instance_name.3.gz
/usr/share/man/man3/tracecmd_buffer_instances.3.gz
/usr/share/man/man3/tracecmd_close.3.gz
/usr/share/man/man3/tracecmd_free_record.3.gz
/usr/share/man/man3/tracecmd_get_guest_cpumap.3.gz
/usr/share/man/man3/tracecmd_get_tep.3.gz
/usr/share/man/man3/tracecmd_get_traceid.3.gz
/usr/share/man/man3/tracecmd_init_data.3.gz
/usr/share/man/man3/tracecmd_open.3.gz
/usr/share/man/man3/tracecmd_open_fd.3.gz
/usr/share/man/man3/tracecmd_open_head.3.gz
/usr/share/man/man3/tracecmd_read_at.3.gz
/usr/share/man/man3/tracecmd_read_cpu_first.3.gz
/usr/share/man/man3/tracecmd_read_data.3.gz
References
Summary
In this tutorial we learn how to install libtracecmd
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).