How To Install ghc-xmonad on Fedora 36

In this tutorial we learn how to install ghc-xmonad in Fedora 36. ghc-xmonad is Haskell xmonad library

Introduction

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

What is ghc-xmonad

This package provides the Haskell xmonad shared library.

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

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

sudo dnf -y install ghc-xmonad

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

sudo yum -y install ghc-xmonad

How To Uninstall ghc-xmonad on Fedora 36

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

sudo dnf remove ghc-xmonad

ghc-xmonad Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/fb
/usr/lib/.build-id/fb/0a96aa920b360563674207c68fab8d087d54d1
/usr/lib64/libHSxmonad-0.15-7TQn4S9FFE2A6E8TfshiJM-ghc8.10.5.so

References

Summary

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