How To Install ghc-mockery on Fedora 36

In this tutorial we learn how to install ghc-mockery in Fedora 36. ghc-mockery is Support functions for automated testing

Introduction

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

What is ghc-mockery

Support functions for automated testing.

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

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

sudo dnf -y install ghc-mockery

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

sudo yum -y install ghc-mockery

How To Uninstall ghc-mockery on Fedora 36

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

sudo dnf remove ghc-mockery

ghc-mockery Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/39
/usr/lib/.build-id/39/f40902e6d1076268c9e8294df40d06e3163c0f
/usr/lib64/libHSmockery-0.3.5-BMoutNSCtetKOxEkUydZK-ghc8.10.5.so
/usr/share/licenses/ghc-mockery
/usr/share/licenses/ghc-mockery/LICENSE

References

Summary

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