How To Install otf2 on Fedora 34

otf2 is Open Trace Format 2 library Open Trace Format 2 library

Introduction

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

What is otf2

The Open Trace Format 2 (OTF2) is a highly scalable, memory efficient event trace data format plus support library. otf2 2.2 13.fc34 x86_64 334 k otf2-2.2-13.fc34.src.rpm fedora Open Trace Format 2 library http BSD The Open Trace Format 2 (OTF2) is a highly scalable, memory efficient event trace data format plus support library.

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

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

sudo dnf -y install otf2

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

sudo yum -y install otf2

How To Uninstall otf2 on Fedora 34

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

sudo dnf remove otf2

otf2 Package Contents on Fedora 34

/usr/bin/otf2-estimator
/usr/bin/otf2-marker
/usr/bin/otf2-print
/usr/bin/otf2-snapshots
/usr/lib/.build-id
/usr/lib/.build-id/22
/usr/lib/.build-id/22/08173723aeb4bb55387d98c14b6511fd9c9ccb
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/2655b4a514f07994809b12f219ed653eef643d
/usr/lib/.build-id/4f
/usr/lib/.build-id/4f/f1cd38062fb1082c0a078fbb67ae1108f5d2db
/usr/lib/.build-id/c1
/usr/lib/.build-id/c1/a070d17bff9d3f689ef6fbe74449e0a19c78bc
/usr/lib/.build-id/d7
/usr/lib/.build-id/d7/2cd0f2203197a1bb49a9fa9ea7de8e8737fc62
/usr/lib64/libotf2.so.7
/usr/lib64/libotf2.so.7.2.0
/usr/share/doc/otf2/AUTHORS
/usr/share/doc/otf2/ChangeLog
/usr/share/doc/otf2/OPEN_ISSUES
/usr/share/doc/otf2/README
/usr/share/licenses/otf2
/usr/share/licenses/otf2/COPYING
/usr/share/otf2
/usr/share/otf2/otf2.summary
/usr/bin/otf2-estimator
/usr/bin/otf2-marker
/usr/bin/otf2-print
/usr/bin/otf2-snapshots
/usr/lib/.build-id
/usr/lib/.build-id/24
/usr/lib/.build-id/24/6a72c80d06eb13f6d3c10f2705cb38e289ff59
/usr/lib/.build-id/43
/usr/lib/.build-id/43/30ea10b3cde5fc48351f7cd17a7a694a817eb1
/usr/lib/.build-id/60
/usr/lib/.build-id/60/af2949d40e694423f53a94291225c362a99bee
/usr/lib/.build-id/9f
/usr/lib/.build-id/9f/92b1c733d5549fb15564231724092fe414fc77
/usr/lib/.build-id/a7
/usr/lib/.build-id/a7/ec4c4cc753976ecd09b9813d2b9d31ff524b53
/usr/lib/libotf2.so.7
/usr/lib/libotf2.so.7.2.0
/usr/share/doc/otf2/AUTHORS
/usr/share/doc/otf2/ChangeLog
/usr/share/doc/otf2/OPEN_ISSUES
/usr/share/doc/otf2/README
/usr/share/licenses/otf2
/usr/share/licenses/otf2/COPYING
/usr/share/otf2
/usr/share/otf2/otf2.summary

References

Summary

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