How To Install ghc-boxes on Fedora 36

In this tutorial we learn how to install ghc-boxes in Fedora 36. ghc-boxes is 2D text pretty-printing library

Introduction

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

What is ghc-boxes

A pretty-printing library for laying out text in two dimensions, using a simple box model.

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

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

sudo dnf -y install ghc-boxes

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

sudo yum -y install ghc-boxes

How To Uninstall ghc-boxes on Fedora 36

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

sudo dnf remove ghc-boxes

ghc-boxes Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/73
/usr/lib/.build-id/73/9ec3d8273f55d65e88596942d5e8f5d53ce1b3
/usr/lib64/libHSboxes-0.1.5-B1h62kKdvyJ5OOlDZdKeVO-ghc8.10.5.so
/usr/share/licenses/ghc-boxes
/usr/share/licenses/ghc-boxes/LICENSE

References

Summary

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