How To Install ghc-xmobar on Fedora 36

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

Introduction

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

What is ghc-xmobar

This package provides the Haskell xmobar shared library.

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

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

sudo dnf -y install ghc-xmobar

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

sudo yum -y install ghc-xmobar

How To Uninstall ghc-xmobar on Fedora 36

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

sudo dnf remove ghc-xmobar

ghc-xmobar Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/16
/usr/lib/.build-id/16/3e05a2cf3998446ede5de2502bbae47f65f36a
/usr/lib64/libHSxmobar-0.38-4gIrmqt0rnHYexZGltuJl-ghc8.10.5.so
/usr/share/licenses/ghc-xmobar
/usr/share/licenses/ghc-xmobar/license

References

Summary

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