How To Install otf2 on Rocky Linux 8
Introduction
In this tutorial we learn how to install otf2 on Rocky Linux 8.
What is otf2
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 Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install otf2.
Install otf2 on Rocky Linux 8 Using dnf
Update yum database with dnf using the following command.
sudo dnf makecache --refresh
After updating yum database, We can install otf2 using dnf by running the following command:
sudo dnf -y install otf2
Install otf2 on Rocky Linux 8 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
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 Rocky Linux 8
To uninstall only the otf2 package we can use the following command:
sudo dnf remove otf2
otf2 Package Contents on Rocky Linux 8
/usr/bin/otf2-estimator
/usr/bin/otf2-marker
/usr/bin/otf2-print
/usr/bin/otf2-snapshots
/usr/bin/otf2-template
/usr/lib/.build-id
/usr/lib/.build-id/09
/usr/lib/.build-id/09/f421fedf5922f7b9349df7d2a89ce5f880d303
/usr/lib/.build-id/3f
/usr/lib/.build-id/3f/36240814b555e7a7150e523e504f9e86450636
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/d836964fef41fb68adf1797ace686e36f36cbb
/usr/lib/.build-id/f2
/usr/lib/.build-id/f2/35feec2d4be9a5e2e7c8c07d6d02dfa17300a3
/usr/lib/.build-id/f2/8bdcab97b49dc5c43926e69e84b724c0e502b5
/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
References
Summary
In this tutorial we learn how to install otf2 on Rocky Linux 8 using yum and dnf.