How To Install ghc-contravariant on Fedora 36

In this tutorial we learn how to install ghc-contravariant in Fedora 36. ghc-contravariant is Contravariant functors

Introduction

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

What is ghc-contravariant

Contravariant functors.

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

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

sudo dnf -y install ghc-contravariant

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

sudo yum -y install ghc-contravariant

How To Uninstall ghc-contravariant on Fedora 36

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

sudo dnf remove ghc-contravariant

ghc-contravariant Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/a9
/usr/lib/.build-id/a9/360c9fb7bef9a8167b410d75050da67cce60a1
/usr/lib64/libHScontravariant-1.5.5-Al7byoSvMfZ1SNvkhnCVAs-ghc8.10.5.so
/usr/share/licenses/ghc-contravariant
/usr/share/licenses/ghc-contravariant/LICENSE

References

Summary

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