How To Install spirv-headers-devel on Rocky Linux 8

In this tutorial we learn how to install spirv-headers-devel on Rocky Linux 8. spirv-headers-devel is Development files for spirv-headers

Introduction

In this tutorial we learn how to install spirv-headers-devel on Rocky Linux 8.

What is spirv-headers-devel

Development files for spirv-headers This includes * Header files for various languages. * JSON files describing the grammar for the SPIR-V core instruction set, and for the GLSL.std.450 extended instruction set. * The XML registry fil

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

Install spirv-headers-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 spirv-headers-devel using dnf by running the following command:

sudo dnf -y install spirv-headers-devel

Install spirv-headers-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 spirv-headers-devel using yum by running the following command:

sudo yum -y install spirv-headers-devel

How To Uninstall spirv-headers-devel on Rocky Linux 8

To uninstall only the spirv-headers-devel package we can use the following command:

sudo dnf remove spirv-headers-devel

spirv-headers-devel Package Contents on Rocky Linux 8

/usr/include/spirv
/usr/include/spirv/1.0
/usr/include/spirv/1.0/GLSL.std.450.h
/usr/include/spirv/1.0/OpenCL.std.h
/usr/include/spirv/1.0/extinst.glsl.std.450.grammar.json
/usr/include/spirv/1.0/extinst.opencl.std.100.grammar.json
/usr/include/spirv/1.0/spirv.core.grammar.json
/usr/include/spirv/1.0/spirv.cs
/usr/include/spirv/1.0/spirv.h
/usr/include/spirv/1.0/spirv.hpp
/usr/include/spirv/1.0/spirv.hpp11
/usr/include/spirv/1.0/spirv.json
/usr/include/spirv/1.0/spirv.lua
/usr/include/spirv/1.0/spirv.py
/usr/include/spirv/1.1
/usr/include/spirv/1.1/GLSL.std.450.h
/usr/include/spirv/1.1/OpenCL.std.h
/usr/include/spirv/1.1/extinst.glsl.std.450.grammar.json
/usr/include/spirv/1.1/extinst.opencl.std.100.grammar.json
/usr/include/spirv/1.1/spirv.core.grammar.json
/usr/include/spirv/1.1/spirv.cs
/usr/include/spirv/1.1/spirv.h
/usr/include/spirv/1.1/spirv.hpp
/usr/include/spirv/1.1/spirv.hpp11
/usr/include/spirv/1.1/spirv.json
/usr/include/spirv/1.1/spirv.lua
/usr/include/spirv/1.1/spirv.py
/usr/include/spirv/1.2
/usr/include/spirv/1.2/GLSL.std.450.h
/usr/include/spirv/1.2/OpenCL.std.h
/usr/include/spirv/1.2/extinst.glsl.std.450.grammar.json
/usr/include/spirv/1.2/extinst.opencl.std.100.grammar.json
/usr/include/spirv/1.2/spirv.core.grammar.json
/usr/include/spirv/1.2/spirv.cs
/usr/include/spirv/1.2/spirv.h
/usr/include/spirv/1.2/spirv.hpp
/usr/include/spirv/1.2/spirv.hpp11
/usr/include/spirv/1.2/spirv.json
/usr/include/spirv/1.2/spirv.lua
/usr/include/spirv/1.2/spirv.py
/usr/include/spirv/spir-v.xml
/usr/include/spirv/unified1
/usr/include/spirv/unified1/GLSL.std.450.h
/usr/include/spirv/unified1/OpenCL.std.h
/usr/include/spirv/unified1/extinst.glsl.std.450.grammar.json
/usr/include/spirv/unified1/extinst.opencl.std.100.grammar.json
/usr/include/spirv/unified1/spirv.core.grammar.json
/usr/include/spirv/unified1/spirv.cs
/usr/include/spirv/unified1/spirv.h
/usr/include/spirv/unified1/spirv.hpp
/usr/include/spirv/unified1/spirv.hpp11
/usr/include/spirv/unified1/spirv.json
/usr/include/spirv/unified1/spirv.lua
/usr/include/spirv/unified1/spirv.py
/usr/include/spirv/unified1/spv.d
/usr/share/doc/spirv-headers-devel
/usr/share/doc/spirv-headers-devel/README.md
/usr/share/licenses/spirv-headers-devel
/usr/share/licenses/spirv-headers-devel/LICENSE

References

Summary

In this tutorial we learn how to install spirv-headers-devel on Rocky Linux 8 using yum and dnf.