How To Install ghc-parser-combinators on Fedora 36

In this tutorial we learn how to install ghc-parser-combinators in Fedora 36. ghc-parser-combinators is Lightweight package providing commonly useful parser combinators

Introduction

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

What is ghc-parser-combinators

Lightweight package providing commonly useful parser combinators.

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

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

sudo dnf -y install ghc-parser-combinators

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

sudo yum -y install ghc-parser-combinators

How To Uninstall ghc-parser-combinators on Fedora 36

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

sudo dnf remove ghc-parser-combinators

ghc-parser-combinators Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/5f8cd1942066c5a9a94ced212bfc71b2c09e11
/usr/lib64/libHSparser-combinators-1.2.1-6Fh1hWQveAUBeeA4oBHRrv-ghc8.10.5.so
/usr/share/licenses/ghc-parser-combinators
/usr/share/licenses/ghc-parser-combinators/LICENSE.md

References

Summary

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