How To Install glslc on Fedora 36
In this tutorial we learn how to install glslc in Fedora 36. glslc is A command line compiler for GLSL/HLSL to SPIR-V
Introduction
In this tutorial we learn how to install glslc on Fedora 36.
What is glslc
A command line compiler for GLSL/HLSL to SPIR-V.
We can use yum or dnf to install glslc on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install glslc.
Install glslc 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 glslc using dnf by running the following command:
sudo dnf -y install glslc
Install glslc 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 glslc using yum by running the following command:
sudo yum -y install glslc
How To Uninstall glslc on Fedora 36
To uninstall only the glslc package we can use the following command:
sudo dnf remove glslc
glslc Package Contents on Fedora 36
/usr/bin/glslc
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/bf996ca1baa2910cea1ffd984f3aff3ca18db4
/usr/share/doc/glslc
/usr/share/doc/glslc/README.asciidoc
/usr/share/licenses/glslc
/usr/share/licenses/glslc/LICENSE
References
Summary
In this tutorial we learn how to install glslc on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).