How To Install ghc-shakespeare on Fedora 36

In this tutorial we learn how to install ghc-shakespeare in Fedora 36. ghc-shakespeare is A toolkit for making compile-time interpolated templates

Introduction

In this tutorial we learn how to install ghc-shakespeare on Fedora 36.

What is ghc-shakespeare

Shakespeare is a family of type-safe, efficient template languages. Shakespeare templates are expanded at compile-time, ensuring that all interpolated variables are in scope. Variables are interpolated according to their type through a typeclass. Shakespeare templates can be used inline with a quasi-quoter or in an external file. See the documentation at <http for more details.

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

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

sudo dnf -y install ghc-shakespeare

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

sudo yum -y install ghc-shakespeare

How To Uninstall ghc-shakespeare on Fedora 36

To uninstall only the ghc-shakespeare package we can use the following command:

sudo dnf remove ghc-shakespeare

ghc-shakespeare Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/5385b8acba4e98a67b211256011357367b04dd
/usr/lib64/libHSshakespeare-2.0.25-8z8yAYdh8g5F7OPoN3SeF1-ghc8.10.5.so
/usr/share/licenses/ghc-shakespeare
/usr/share/licenses/ghc-shakespeare/LICENSE

References

Summary

In this tutorial we learn how to install ghc-shakespeare on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).