How To Install ocl-icd-devel on Rocky Linux 8
Introduction
In this tutorial we learn how to install ocl-icd-devel
on Rocky Linux 8.
What is ocl-icd-devel
This package contains the development files for ocl-icd.
We can use yum
or dnf
to install ocl-icd-devel
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install ocl-icd-devel.
Install ocl-icd-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 ocl-icd-devel
using dnf
by running the following command:
sudo dnf -y install ocl-icd-devel
Install ocl-icd-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 ocl-icd-devel
using yum
by running the following command:
sudo yum -y install ocl-icd-devel
How To Uninstall ocl-icd-devel on Rocky Linux 8
To uninstall only the ocl-icd-devel
package we can use the following command:
sudo dnf remove ocl-icd-devel
ocl-icd-devel Package Contents on Rocky Linux 8
/usr/include/ocl_icd.h
/usr/lib/libOpenCL.so
/usr/lib/pkgconfig/OpenCL.pc
/usr/lib/pkgconfig/ocl-icd.pc
/usr/share/doc/ocl-icd-devel
/usr/share/doc/ocl-icd-devel/ocl_icd_bindings.c
/usr/share/doc/ocl-icd-devel/ocl_icd_loader_gen.map
/usr/include/ocl_icd.h
/usr/lib64/libOpenCL.so
/usr/lib64/pkgconfig/OpenCL.pc
/usr/lib64/pkgconfig/ocl-icd.pc
/usr/share/doc/ocl-icd-devel
/usr/share/doc/ocl-icd-devel/ocl_icd_bindings.c
/usr/share/doc/ocl-icd-devel/ocl_icd_loader_gen.map
References
Summary
In this tutorial we learn how to install ocl-icd-devel
on Rocky Linux 8 using yum and dnf.