How To Install ghc-attoparsec on Fedora 36

In this tutorial we learn how to install ghc-attoparsec in Fedora 36. ghc-attoparsec is Fast combinator parsing for bytestrings and text

Introduction

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

What is ghc-attoparsec

A fast parser combinator library, aimed particularly at dealing efficiently with network protocols and complicated text/binary file formats.

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

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

sudo dnf -y install ghc-attoparsec

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

sudo yum -y install ghc-attoparsec

How To Uninstall ghc-attoparsec on Fedora 36

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

sudo dnf remove ghc-attoparsec

ghc-attoparsec Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fe
/usr/lib/.build-id/fe/b2bc26c4dcfc597f371a81d707909573c9ed63
/usr/lib64/libHSattoparsec-0.13.2.5-4vRotaC86aIACA2Ise73KC-ghc8.10.5.so
/usr/share/licenses/ghc-attoparsec
/usr/share/licenses/ghc-attoparsec/LICENSE

References

Summary

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