How To Install libtracecmd on Fedora 34
Introduction
In this tutorial we learn how to install libtracecmd
on Fedora 34.
What is libtracecmd
The libtracecmd library libtracecmd 0 2.fc34 x86_64 100 k trace-cmd-2.9.2-2.fc34.src.rpm fedora Libraries of trace-cmd http GPLv2 and LGPLv2 The libtracecmd library
We can use yum
or dnf
to install libtracecmd
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libtracecmd.
Install libtracecmd 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 libtracecmd
using dnf
by running the following command:
sudo dnf -y install libtracecmd
Install libtracecmd 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 libtracecmd
using yum
by running the following command:
sudo yum -y install libtracecmd
How To Uninstall libtracecmd on Fedora 34
To uninstall only the libtracecmd
package we can use the following command:
sudo dnf remove libtracecmd
libtracecmd Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/41
/usr/lib/.build-id/41/eb07652e4f0efbb837daa944b7c28df939db60
/usr/lib/libtracecmd.so.0
/usr/lib/libtracecmd.so.0.0.1
/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/COPYING
/usr/share/doc/libtracecmd/COPYING.LIB
/usr/share/doc/libtracecmd/README
/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
/usr/lib/.build-id
/usr/lib/.build-id/6b
/usr/lib/.build-id/6b/4f2c5d5f57a7f7006b50a33a66fb19904c56c4
/usr/lib64/libtracecmd.so.0
/usr/lib64/libtracecmd.so.0.0.1
/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/COPYING
/usr/share/doc/libtracecmd/COPYING.LIB
/usr/share/doc/libtracecmd/README
/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
- [libtracecmd website](http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary http://git.kernel.org/?p=linux/kernel/git/rostedt/trace-cmd.git;a=summary)
Summary
In this tutorial we learn how to install libtracecmd
on Fedora 34 using yum and dnf.