How To Install otf2-devel on Rocky Linux 8

In this tutorial we learn how to install otf2-devel on Rocky Linux 8. otf2-devel is Development files for otf2

Introduction

In this tutorial we learn how to install otf2-devel on Rocky Linux 8.

What is otf2-devel

The otf2-devel package contains libraries and header files for developing applications that use otf2.

We can use yum or dnf to install otf2-devel on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install otf2-devel.

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

sudo dnf -y install otf2-devel

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

sudo yum -y install otf2-devel

How To Uninstall otf2-devel on Rocky Linux 8

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

sudo dnf remove otf2-devel

otf2-devel Package Contents on Rocky Linux 8

/usr/bin/otf2-config
/usr/include/otf2
/usr/include/otf2/OTF2_Archive.h
/usr/include/otf2/OTF2_AttributeList.h
/usr/include/otf2/OTF2_AttributeValue.h
/usr/include/otf2/OTF2_Callbacks.h
/usr/include/otf2/OTF2_DefReader.h
/usr/include/otf2/OTF2_DefReaderCallbacks.h
/usr/include/otf2/OTF2_DefWriter.h
/usr/include/otf2/OTF2_Definitions.h
/usr/include/otf2/OTF2_ErrorCodes.h
/usr/include/otf2/OTF2_EventSizeEstimator.h
/usr/include/otf2/OTF2_Events.h
/usr/include/otf2/OTF2_EvtReader.h
/usr/include/otf2/OTF2_EvtReaderCallbacks.h
/usr/include/otf2/OTF2_EvtWriter.h
/usr/include/otf2/OTF2_GeneralDefinitions.h
/usr/include/otf2/OTF2_GlobalDefReader.h
/usr/include/otf2/OTF2_GlobalDefReaderCallbacks.h
/usr/include/otf2/OTF2_GlobalDefWriter.h
/usr/include/otf2/OTF2_GlobalEvtReader.h
/usr/include/otf2/OTF2_GlobalEvtReaderCallbacks.h
/usr/include/otf2/OTF2_GlobalSnapReader.h
/usr/include/otf2/OTF2_GlobalSnapReaderCallbacks.h
/usr/include/otf2/OTF2_IdMap.h
/usr/include/otf2/OTF2_MPI_Collectives.h
/usr/include/otf2/OTF2_Marker.h
/usr/include/otf2/OTF2_MarkerReader.h
/usr/include/otf2/OTF2_MarkerReaderCallbacks.h
/usr/include/otf2/OTF2_MarkerWriter.h
/usr/include/otf2/OTF2_OpenMP_Locks.h
/usr/include/otf2/OTF2_Pthread_Locks.h
/usr/include/otf2/OTF2_Reader.h
/usr/include/otf2/OTF2_SnapReader.h
/usr/include/otf2/OTF2_SnapReaderCallbacks.h
/usr/include/otf2/OTF2_SnapWriter.h
/usr/include/otf2/OTF2_Thumbnail.h
/usr/include/otf2/otf2.h
/usr/lib/.build-id
/usr/lib/.build-id/4c
/usr/lib/.build-id/4c/06472964cb30305ff7df0f53bd7e215be174e3
/usr/lib64/libotf2.so

References

Summary

In this tutorial we learn how to install otf2-devel on Rocky Linux 8 using yum and dnf.