How To Install ghc-uri-bytestring on Fedora 36

In this tutorial we learn how to install ghc-uri-bytestring in Fedora 36. ghc-uri-bytestring is Haskell URI parsing as ByteStrings

Introduction

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

What is ghc-uri-bytestring

Uri-bytestring aims to be an RFC3986 compliant URI parser that uses efficient ByteStrings for parsing and representing the URI data.

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

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

sudo dnf -y install ghc-uri-bytestring

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

sudo yum -y install ghc-uri-bytestring

How To Uninstall ghc-uri-bytestring on Fedora 36

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

sudo dnf remove ghc-uri-bytestring

ghc-uri-bytestring Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/96
/usr/lib/.build-id/96/374ab72dd6e80b87b86d9a7c48854da6ea7fc7
/usr/lib64/libHSuri-bytestring-0.3.3.1-4e1JRFz3mDhJ0QVjUlka5c-ghc8.10.5.so
/usr/share/licenses/ghc-uri-bytestring
/usr/share/licenses/ghc-uri-bytestring/LICENSE
/usr/share/licenses/ghc-uri-bytestring/licenses
/usr/share/licenses/ghc-uri-bytestring/licenses/http-types
/usr/share/licenses/ghc-uri-bytestring/licenses/http-types/LICENSE

References

Summary

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