How To Install ghc-case-insensitive on Fedora 36

In this tutorial we learn how to install ghc-case-insensitive in Fedora 36. ghc-case-insensitive is Case insensitive string comparison

Introduction

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

What is ghc-case-insensitive

The module ‘Data.CaseInsensitive’ provides the ‘CI’ type constructor which can be parameterised by a string-like type like etc.. Comparisons of values of the resulting type will be insensitive to cases.

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

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

sudo dnf -y install ghc-case-insensitive

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

sudo yum -y install ghc-case-insensitive

How To Uninstall ghc-case-insensitive on Fedora 36

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

sudo dnf remove ghc-case-insensitive

ghc-case-insensitive Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/d51249988651e2bd733e4f5a77a0472e623d17
/usr/lib64/libHScase-insensitive-1.2.1.0-J1r9a74F53JCf4kY5SSPqh-ghc8.10.5.so
/usr/share/licenses/ghc-case-insensitive
/usr/share/licenses/ghc-case-insensitive/LICENSE

References

Summary

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