How To Install glslang on Fedora 36
Introduction
In this tutorial we learn how to install glslang
on Fedora 36.
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.
We can use yum
or dnf
to install glslang
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install glslang.
Install glslang 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 glslang
using dnf
by running the following command:
sudo dnf -y install glslang
Install glslang 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 glslang
using yum
by running the following command:
sudo yum -y install glslang
How To Uninstall glslang on Fedora 36
To uninstall only the glslang
package we can use the following command:
sudo dnf remove glslang
glslang Package Contents on Fedora 36
---
title: "How To Install glslang on Fedora 36"
linkTitle: "glslang"
type: "docs"
description: "In this tutorial we learn how to install glslang in Fedora 36. glslang is OpenGL and OpenGL ES shader front end and validator"
date: "2022-08-17"
lastmod: "2022-08-17"
#image: /images/fedora/36/glslang-featured.png
---
## Introduction
In this tutorial we learn how to install `glslang` on Fedora 36.
### 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.
We can use `yum` or `dnf` to install `glslang` on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install glslang.
## Install glslang on Fedora 36 Using dnf
Update yum database with `dnf` using the following command.
```bash
sudo dnf makecache --refresh
After updating yum database, We can install glslang
using dnf
by running the following command:
sudo dnf -y install glslang
Install glslang 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 glslang
using yum
by running the following command:
sudo yum -y install glslang
How To Uninstall glslang on Fedora 36
To uninstall only the glslang
package we can use the following command:
sudo dnf remove glslang
glslang Package Contents on Fedora 36
/usr/bin/glslangValidator
/usr/bin/spirv-remap
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/fca25b8f97122c4fb94fdb2aaaa7cd30f939ab
/usr/lib/.build-id/74
/usr/lib/.build-id/74/60674a7ecf4b3713ac108753a98f130feed094
/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 36 using yum and [dnf]((/fedora/36/dnf/).
/usr/bin/glslangValidator /usr/bin/spirv-remap /usr/lib/.build-id /usr/lib/.build-id/81 /usr/lib/.build-id/81/fb5b6d5ab14b37ffa3f36ea2fa4347063d7035 /usr/lib/.build-id/a9 /usr/lib/.build-id/a9/935f30f57a2c3e078cb3e90c16a8384199c321 /usr/share/doc/glslang /usr/share/doc/glslang/README-spirv-remap.txt /usr/share/doc/glslang/README.md
## References
* [glslang website](https://github.com/KhronosGroup)
## Summary
In this tutorial we learn how to install `glslang` on [Fedora 36](/fedora/36/) using [yum](/fedora/36/yum/) and [dnf]((/fedora/36/dnf/).