How To Install ghc-base16-bytestring on Fedora 36

In this tutorial we learn how to install ghc-base16-bytestring in Fedora 36. ghc-base16-bytestring is RFC 4648-compliant Base16 encodings for ByteStrings

Introduction

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

What is ghc-base16-bytestring

This package provides support for encoding and decoding binary data according to ‘base16’ (see also <https strict (see “Data.ByteString.Base16”) and lazy ‘ByteString’s (see “Data.ByteString.Base16.Lazy”). See the <https provides superior encoding and decoding performance as well as support for lazy, short, and strict variants of ‘Text’ and ‘ByteString’ values. Additionally, see the package which provides an uniform API providing conversion paths between more binary and textual types.

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

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

sudo dnf -y install ghc-base16-bytestring

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

sudo yum -y install ghc-base16-bytestring

How To Uninstall ghc-base16-bytestring on Fedora 36

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

sudo dnf remove ghc-base16-bytestring

ghc-base16-bytestring Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/47
/usr/lib/.build-id/47/ffd6ebc44050f21558241b6d27b5fa23c47310
/usr/lib64/libHSbase16-bytestring-1.0.1.0-CJovny2M4cCIp5fiHq2B0J-ghc8.10.5.so
/usr/share/licenses/ghc-base16-bytestring
/usr/share/licenses/ghc-base16-bytestring/LICENSE

References

Summary

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