How To Install otf2 on CentOS 8
Introduction
In this tutorial we learn how to install otf2
on CentOS 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 CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install otf2.
Install otf2 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 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 CentOS 8
To uninstall only the otf2
package we can use the following command:
sudo dnf remove otf2
otf2 Package Contents on CentOS 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 CentOS 8 using yum and dnf.