How To Install libomp-devel on Rocky Linux 8

In this tutorial we learn how to install libomp-devel on Rocky Linux 8. libomp-devel is OpenMP header files

Introduction

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

What is libomp-devel

OpenMP header files.

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

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

sudo dnf -y install libomp-devel

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

sudo yum -y install libomp-devel

How To Uninstall libomp-devel on Rocky Linux 8

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

sudo dnf remove libomp-devel

libomp-devel Package Contents on Rocky Linux 8

/usr/include/ompt-multiplex.h
/usr/lib/clang/11.0.0/include/omp-tools.h
/usr/lib/clang/11.0.0/include/omp.h
/usr/lib/clang/11.0.0/include/ompt.h
/usr/include/ompt-multiplex.h
/usr/lib64/clang/11.0.0/include/omp-tools.h
/usr/lib64/clang/11.0.0/include/omp.h
/usr/lib64/clang/11.0.0/include/ompt.h

References

Summary

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