How To Install ghc-singleton-bool on Fedora 36

In this tutorial we learn how to install ghc-singleton-bool in Fedora 36. ghc-singleton-bool is Type level booleans

Introduction

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

What is ghc-singleton-bool

Type level booleans. ‘singletons’ package provides similar functionality, but it has tight dependency constraints.

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

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

sudo dnf -y install ghc-singleton-bool

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

sudo yum -y install ghc-singleton-bool

How To Uninstall ghc-singleton-bool on Fedora 36

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

sudo dnf remove ghc-singleton-bool

ghc-singleton-bool Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/2c
/usr/lib/.build-id/2c/a65e6ff585f9f988210e820d394074bb8b7a75
/usr/lib64/libHSsingleton-bool-0.1.5-GibK2PD4szo2z38HW3QWvX-ghc8.10.5.so
/usr/share/licenses/ghc-singleton-bool
/usr/share/licenses/ghc-singleton-bool/LICENSE

References

Summary

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