How To Install opencl-filesystem on Rocky Linux 8

In this tutorial we learn how to install opencl-filesystem on Rocky Linux 8. opencl-filesystem is OpenCL filesystem layout

Introduction

In this tutorial we learn how to install opencl-filesystem on Rocky Linux 8.

What is opencl-filesystem

This package provides some directories required by packages which use OpenCL.

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

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

sudo dnf -y install opencl-filesystem

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

sudo yum -y install opencl-filesystem

How To Uninstall opencl-filesystem on Rocky Linux 8

To uninstall only the opencl-filesystem package we can use the following command:

sudo dnf remove opencl-filesystem

opencl-filesystem Package Contents on Rocky Linux 8

/etc/OpenCL
/etc/OpenCL/vendors

References

Summary

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