How To Install intel-ocloc on Fedora 36
Introduction
In this tutorial we learn how to install intel-ocloc on Fedora 36.
What is intel-ocloc
ocloc is a tool for managing Intel Compute GPU device binary format (a format used by Intel Compute GPU runtime). It can be used for generation (as part of ‘compile’ command) as well as manipulation (decoding/modifying - as part of ‘disasm’/‘asm’ commands) of such binary files.
We can use yum or dnf to install intel-ocloc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install intel-ocloc.
Install intel-ocloc 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 intel-ocloc using dnf by running the following command:
sudo dnf -y install intel-ocloc
Install intel-ocloc 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 intel-ocloc using yum by running the following command:
sudo yum -y install intel-ocloc
How To Uninstall intel-ocloc on Fedora 36
To uninstall only the intel-ocloc package we can use the following command:
sudo dnf remove intel-ocloc
intel-ocloc Package Contents on Fedora 36
/usr/bin/ocloc
/usr/lib/.build-id
/usr/lib/.build-id/42
/usr/lib/.build-id/42/c8048bc63206007b270207f15f7831c81805f4
/usr/lib/.build-id/8c
/usr/lib/.build-id/8c/23b710053e247915447e5fa7383bd01aa8ef90
/usr/lib64/libocloc.so
/usr/share/licenses/intel-ocloc
/usr/share/licenses/intel-ocloc/LICENSE.md
References
Summary
In this tutorial we learn how to install intel-ocloc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).