How To Install ghc-polyparse on Fedora 36

In this tutorial we learn how to install ghc-polyparse in Fedora 36. ghc-polyparse is A variety of alternative parser combinator libraries

Introduction

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

What is ghc-polyparse

This version, 1.13 is a Non-Maintainer Upload (NMU). Report issues to the Hackage Trustees issue tracker. A variety of alternative parser combinator libraries, including the original HuttonMeijer set. The Poly sets have features like good error reporting, arbitrary token type, running state, lazy parsing, and so on. Finally, Text.Parse is a proposed replacement for the standard Read class, for better deserialisation of Haskell values from Strings.

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

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

sudo dnf -y install ghc-polyparse

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

sudo yum -y install ghc-polyparse

How To Uninstall ghc-polyparse on Fedora 36

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

sudo dnf remove ghc-polyparse

ghc-polyparse Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/c17692313b3e3f47b5d1b3162374b38952a1d0
/usr/lib64/libHSpolyparse-1.13-4Tks6P3TcZl5fGSKCByHwM-ghc8.10.5.so
/usr/share/licenses/ghc-polyparse
/usr/share/licenses/ghc-polyparse/COPYRIGHT
/usr/share/licenses/ghc-polyparse/LICENCE-LGPL

References

Summary

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