How To Install openshadinglanguage on Fedora 34

openshadinglanguage is Advanced shading language for production GI renderers

Introduction

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

What is openshadinglanguage

Open Shading Language (OSL) is a small but rich language for programmable shading in advanced renderers and other applications, ideal for describing materials, lights, displacement, and pattern generation.

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

Install openshadinglanguage 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 openshadinglanguage using dnf by running the following command:

sudo dnf -y install openshadinglanguage

Install openshadinglanguage 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 openshadinglanguage using yum by running the following command:

sudo yum -y install openshadinglanguage

How To Uninstall openshadinglanguage on Fedora 34

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

sudo dnf remove openshadinglanguage

openshadinglanguage Package Contents on Fedora 34

/usr/bin/oslc
/usr/bin/oslinfo
/usr/bin/osltoy
/usr/bin/testrender
/usr/bin/testshade
/usr/bin/testshade_dso
/usr/lib/.build-id
/usr/lib/.build-id/0c
/usr/lib/.build-id/0c/ca83a9921e33f9e0ccafd29543ea16c1ffe99a
/usr/lib/.build-id/14
/usr/lib/.build-id/14/462f34b9710e1ec976fd249bb265e355a958c1
/usr/lib/.build-id/30
/usr/lib/.build-id/30/3953f7ac1820475de14dc42e3f6fc0bb21302e
/usr/lib/.build-id/34
/usr/lib/.build-id/34/0516c1c1509d24d7d37838597c3e3672353f21
/usr/lib/.build-id/7a
/usr/lib/.build-id/7a/275477159ebb5b9c62daf5a71351fbf3f4b5c6
/usr/lib/.build-id/e5
/usr/lib/.build-id/e5/e189b5e9d94ddefbbcfd7006389f63f2acbe03
/usr/share/doc/openshadinglanguage
/usr/share/doc/openshadinglanguage/CHANGES.md
/usr/share/doc/openshadinglanguage/CONTRIBUTING.md
/usr/share/doc/openshadinglanguage/README.md
/usr/share/licenses/openshadinglanguage
/usr/share/licenses/openshadinglanguage/LICENSE.md

References

Summary

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