How To Install libomp on Fedora 36

In this tutorial we learn how to install libomp in Fedora 36. libomp is OpenMP runtime for clang

Introduction

In this tutorial we learn how to install libomp on Fedora 36.

What is libomp

OpenMP runtime for clang.

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

Install libomp on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install libomp using dnf by running the following command:

sudo dnf -y install libomp

Install libomp on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install libomp using yum by running the following command:

sudo yum -y install libomp

How To Uninstall libomp on Fedora 36

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

sudo dnf remove libomp

libomp Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/e8101282248854eafb7e6bab5e938cc34ee817
/usr/lib/.build-id/4e
/usr/lib/.build-id/4e/b96990beee678f234cefeec83f717f52e839ed
/usr/lib/.build-id/5d
/usr/lib/.build-id/5d/ec3c4549992aaf845fa665ea464d275af769d2
/usr/lib/.build-id/80
/usr/lib/.build-id/80/71ef8b46684794c3dd49f81fb4fa6514e3fee2
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/289f35023132ef4d0ac031ee908409523a78b4
/usr/lib/.build-id/a2
/usr/lib/.build-id/a2/b5e0b3745289eaf3e143d0ca96bee487e8b850
/usr/lib/.build-id/a4
/usr/lib/.build-id/a4/392e65b75e661ca4baa9824c85e6d313b412b3
/usr/lib64/libarcher.so
/usr/lib64/libomp.so
/usr/lib64/libompd.so
/usr/lib64/libomptarget.rtl.amdgpu.so
/usr/lib64/libomptarget.rtl.cuda.so
/usr/lib64/libomptarget.rtl.x86_64.so
/usr/lib64/libomptarget.so
/usr/share/licenses/libomp
/usr/share/licenses/libomp/LICENSE.TXT

References

Summary

In this tutorial we learn how to install libomp on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).