How To Install ghc-regex-applicative on Fedora 36

In this tutorial we learn how to install ghc-regex-applicative in Fedora 36. ghc-regex-applicative is Regex-based parsing with applicative interface

Introduction

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

What is ghc-regex-applicative

Regex-applicative is a Haskell library for parsing using regular expressions. Parsers can be built using Applicative interface.

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

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

sudo dnf -y install ghc-regex-applicative

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

sudo yum -y install ghc-regex-applicative

How To Uninstall ghc-regex-applicative on Fedora 36

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

sudo dnf remove ghc-regex-applicative

ghc-regex-applicative Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/92
/usr/lib/.build-id/92/2f13cac592b7868c37cfe586784259c68e1c8d
/usr/lib64/libHSregex-applicative-0.3.4-E5xJRedg9vpA8Bxp38eOVc-ghc8.10.5.so
/usr/share/licenses/ghc-regex-applicative
/usr/share/licenses/ghc-regex-applicative/LICENSE

References

Summary

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