How To Install libgomp on Rocky Linux 8
Introduction
In this tutorial we learn how to install libgomp on Rocky Linux 8.
What is libgomp
This package contains GCC shared support library which is needed for OpenMP v4.5 support.
We can use yum or dnf to install libgomp on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install libgomp.
Install libgomp 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 libgomp using dnf by running the following command:
sudo dnf -y install libgomp
Install libgomp 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 libgomp using yum by running the following command:
sudo yum -y install libgomp
How To Uninstall libgomp on Rocky Linux 8
To uninstall only the libgomp package we can use the following command:
sudo dnf remove libgomp
libgomp Package Contents on Rocky Linux 8
/usr/lib/.build-id
/usr/lib/.build-id/40
/usr/lib/.build-id/40/5dabd8ad3df9fd238a6f590e91562a651de20f
/usr/lib/libgomp.so.1
/usr/lib/libgomp.so.1.0.0
/usr/share/doc/libgomp
/usr/share/doc/libgomp/ChangeLog.bz2
/usr/share/doc/libgomp/ChangeLog.graphite.bz2
/usr/share/info/libgomp.info.gz
/usr/lib/.build-id
/usr/lib/.build-id/ac
/usr/lib/.build-id/ac/da3ee7749883a9c7773ef2f19a65480b579269
/usr/lib64/libgomp.so.1
/usr/lib64/libgomp.so.1.0.0
/usr/share/doc/libgomp
/usr/share/doc/libgomp/ChangeLog.bz2
/usr/share/doc/libgomp/ChangeLog.graphite.bz2
/usr/share/info/libgomp.info.gz
References
Summary
In this tutorial we learn how to install libgomp on Rocky Linux 8 using yum and dnf.