How To Install ghc-wizards on Fedora 36

In this tutorial we learn how to install ghc-wizards in Fedora 36. ghc-wizards is High level, generic library for interrogative user interfaces

Introduction

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

What is ghc-wizards

‘wizards’ is a package designed for the quick and painless development of /interrogative/ programs, which revolve around a “dialogue” with the user, who is asked a series of questions in a sequence much like an installation wizard. Everything from interactive system scripts, to installation wizards, to full-blown shells can be implemented with the support of ‘wizards’. It is developed transparently on top of a free monad, which separates out the semantics of the program from any particular interface. A variety of backends exist, including console-based “System.Console.Wizard.Haskeline” and “System.Console.Wizard.BasicIO”, and the pure “System.Console.Wizard.Pure”. It is also possible to write your own backends, or extend existing back-ends with new features. While both built-in IO backends operate on a console, there is no reason why ‘wizards’ cannot also be used for making GUI wizard interfaces. See the github page for examples on usage <http For creating backends, the module “System.Console.Wizard.Internal” has a brief tutorial.

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

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

sudo dnf -y install ghc-wizards

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

sudo yum -y install ghc-wizards

How To Uninstall ghc-wizards on Fedora 36

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

sudo dnf remove ghc-wizards

ghc-wizards Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/48
/usr/lib/.build-id/48/0a25fed49c8a7a9548192316e94de2253f82fe
/usr/lib64/libHSwizards-1.0.3-D6F1Ie8nXml21cuChbk09x-ghc8.10.5.so
/usr/share/licenses/ghc-wizards
/usr/share/licenses/ghc-wizards/LICENSE

References

Summary

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