How To Install ghc-byteable on Fedora 36

In this tutorial we learn how to install ghc-byteable in Fedora 36. ghc-byteable is Type class for sequence of bytes

Introduction

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

What is ghc-byteable

Abstract class to manipulate sequence of bytes The use case of this class is abstracting manipulation of types that are just wrapping a bytestring with stronger and more meaniful name. Usual definition of those types are of the form ByteString.

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

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

sudo dnf -y install ghc-byteable

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

sudo yum -y install ghc-byteable

How To Uninstall ghc-byteable on Fedora 36

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

sudo dnf remove ghc-byteable

ghc-byteable Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/62c4a12048bcc11bceb95d05504cf486a603ea
/usr/lib64/libHSbyteable-0.1.1-Gf4TH6XbSdI4yHpNVK8xgD-ghc8.10.5.so
/usr/share/licenses/ghc-byteable
/usr/share/licenses/ghc-byteable/LICENSE

References

Summary

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