How To Install glslang on Fedora 34

glslang is OpenGL and OpenGL ES shader front end and validator OpenGL and OpenGL ES shader front end and validator

Introduction

In this tutorial we learn how to install glslang on Fedora 34.

What is glslang

glslang is the official reference compiler front end for the OpenGL ES and OpenGL shading languages. It implements a strict interpretation of the specifications for these languages. glslang 11.0.0 4.20201208.gitc594de2.fc34 x86_64 946 k glslang-11.0.0-4.20201208.gitc594de2.fc34.src.rpm fedora OpenGL and OpenGL ES shader front end and validator https BSD and GPLv3+ and ASL 2.0 glslang is the official reference compiler front end for the OpenGL ES and OpenGL shading languages. It implements a strict interpretation of the specifications for these languages.

We can use yum or dnf to install glslang on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install glslang.

Install glslang on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install glslang using dnf by running the following command:

sudo dnf -y install glslang

Install glslang on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install glslang using yum by running the following command:

sudo yum -y install glslang

How To Uninstall glslang on Fedora 34

To uninstall only the glslang package we can use the following command:

sudo dnf remove glslang

glslang Package Contents on Fedora 34

/usr/bin/glslangValidator
/usr/bin/spirv-remap
/usr/lib/.build-id
/usr/lib/.build-id/27
/usr/lib/.build-id/27/73935fd02238a8e6679d86390f9b6f5b92b58d
/usr/lib/.build-id/62
/usr/lib/.build-id/62/9eb4ae84f9345ef8f55b0edc667b70a5155c1e
/usr/share/doc/glslang
/usr/share/doc/glslang/README-spirv-remap.txt
/usr/share/doc/glslang/README.md
/usr/bin/glslangValidator
/usr/bin/spirv-remap
/usr/lib/.build-id
/usr/lib/.build-id/ef
/usr/lib/.build-id/ef/b80a0fce5156a4b12cf09e4cd6641f36ea6b7c
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/a15641c47ca842f75f71366961397852db3e0e
/usr/share/doc/glslang
/usr/share/doc/glslang/README-spirv-remap.txt
/usr/share/doc/glslang/README.md

References

Summary

In this tutorial we learn how to install glslang on Fedora 34 using yum and dnf.