How To Install spirv-tools on Rocky Linux 8
Introduction
In this tutorial we learn how to install spirv-tools
on Rocky Linux 8.
What is spirv-tools
The package includes an assembler, binary module parser, disassembler, and validator for SPIR-V..
We can use yum
or dnf
to install spirv-tools
on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install spirv-tools.
Install spirv-tools 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-tools
using dnf
by running the following command:
sudo dnf -y install spirv-tools
Install spirv-tools 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-tools
using yum
by running the following command:
sudo yum -y install spirv-tools
How To Uninstall spirv-tools on Rocky Linux 8
To uninstall only the spirv-tools
package we can use the following command:
sudo dnf remove spirv-tools
spirv-tools Package Contents on Rocky Linux 8
/usr/bin/spirv-as
/usr/bin/spirv-cfg
/usr/bin/spirv-dis
/usr/bin/spirv-lesspipe.sh
/usr/bin/spirv-link
/usr/bin/spirv-opt
/usr/bin/spirv-reduce
/usr/bin/spirv-val
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/c7342dfd2a9a3234212b34f39b31efec36017c
/usr/lib/.build-id/47
/usr/lib/.build-id/47/8c18a28b90bfe639e3bc0dbda053c118b20cce
/usr/lib/.build-id/9a
/usr/lib/.build-id/9a/d4dcc359829ec6b279b0ded8a2c868025e97dc
/usr/lib/.build-id/be
/usr/lib/.build-id/be/5b611ffb6ebaafeef889ccfe9b4ae42ebb043f
/usr/lib/.build-id/c8
/usr/lib/.build-id/c8/1e0472001a592ccae9be2b6cec457424d68c47
/usr/lib/.build-id/d3
/usr/lib/.build-id/d3/7c022e94975d99e634db1ce1f42ac213f5a3ab
/usr/lib/.build-id/f8
/usr/lib/.build-id/f8/b278d8032ddcce4f8c66d361c8309a3757b31e
/usr/share/doc/spirv-tools
/usr/share/doc/spirv-tools/CHANGES
/usr/share/doc/spirv-tools/README.md
/usr/share/licenses/spirv-tools
/usr/share/licenses/spirv-tools/LICENSE
References
Summary
In this tutorial we learn how to install spirv-tools
on Rocky Linux 8 using yum and dnf.