How To Install ghc-cab on Fedora 36

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

Introduction

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

What is ghc-cab

This package provides the Haskell cab shared library.

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

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

sudo dnf -y install ghc-cab

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

sudo yum -y install ghc-cab

How To Uninstall ghc-cab on Fedora 36

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

sudo dnf remove ghc-cab

ghc-cab Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/f4
/usr/lib/.build-id/f4/e7db22592e800ae9d4a03ccd76dc1e4188a205
/usr/lib64/libHScab-0.2.19-JJY28NJCJEd4EOv9vIZHFu-ghc8.10.5.so
/usr/share/licenses/ghc-cab
/usr/share/licenses/ghc-cab/LICENSE

References

Summary

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