How To Install libshaderc on Fedora 34
Introduction
In this tutorial we learn how to install libshaderc
on Fedora 34.
What is libshaderc
A library for compiling shader strings into SPIR-V. libshaderc 2021.0 1.fc34 x86_64 896 k shaderc-2021.0-1.fc34.src.rpm updates A library for compiling shader strings into SPIR-V https ASL 2.0 A library for compiling shader strings into SPIR-V.
We can use yum
or dnf
to install libshaderc
on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install libshaderc.
Install libshaderc 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 libshaderc
using dnf
by running the following command:
sudo dnf -y install libshaderc
Install libshaderc 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 libshaderc
using yum
by running the following command:
sudo yum -y install libshaderc
How To Uninstall libshaderc on Fedora 34
To uninstall only the libshaderc
package we can use the following command:
sudo dnf remove libshaderc
libshaderc Package Contents on Fedora 34
/usr/lib/.build-id
/usr/lib/.build-id/0b
/usr/lib/.build-id/0b/7e0e0f56696693063ac29e4e3588c326c340f1
/usr/lib/libshaderc_shared.so.1
/usr/share/doc/libshaderc
/usr/share/doc/libshaderc/AUTHORS
/usr/share/doc/libshaderc/CHANGES
/usr/share/doc/libshaderc/CONTRIBUTORS
/usr/share/doc/libshaderc/README.md
/usr/share/licenses/libshaderc
/usr/share/licenses/libshaderc/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/2f
/usr/lib/.build-id/2f/a69230397db496395ac644c13579ab27114353
/usr/lib64/libshaderc_shared.so.1
/usr/share/doc/libshaderc
/usr/share/doc/libshaderc/AUTHORS
/usr/share/doc/libshaderc/CHANGES
/usr/share/doc/libshaderc/CONTRIBUTORS
/usr/share/doc/libshaderc/README.md
/usr/share/licenses/libshaderc
/usr/share/licenses/libshaderc/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/31
/usr/lib/.build-id/31/73dce56d48ba5cefae7ce0ee1dd83c2d5c2ecc
/usr/lib/libshaderc_shared.so.1
/usr/share/doc/libshaderc
/usr/share/doc/libshaderc/AUTHORS
/usr/share/doc/libshaderc/CHANGES
/usr/share/doc/libshaderc/CONTRIBUTORS
/usr/share/doc/libshaderc/README.md
/usr/share/licenses/libshaderc
/usr/share/licenses/libshaderc/LICENSE
/usr/lib/.build-id
/usr/lib/.build-id/bd
/usr/lib/.build-id/bd/b483f6be73c29a69886877d9e1e776c2215b0b
/usr/lib64/libshaderc_shared.so.1
/usr/share/doc/libshaderc
/usr/share/doc/libshaderc/AUTHORS
/usr/share/doc/libshaderc/CHANGES
/usr/share/doc/libshaderc/CONTRIBUTORS
/usr/share/doc/libshaderc/README.md
/usr/share/licenses/libshaderc
/usr/share/licenses/libshaderc/LICENSE
References
- [libshaderc website](https://github.com/google/shaderc https://github.com/google/shaderc)
Summary
In this tutorial we learn how to install libshaderc
on Fedora 34 using yum and dnf.