How To Install ghc-constraints-devel on Fedora 36

In this tutorial we learn how to install ghc-constraints-devel in Fedora 36. ghc-constraints-devel is Haskell constraints library development files

Introduction

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

What is ghc-constraints-devel

This package provides the Haskell constraints library development files.

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

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

sudo dnf -y install ghc-constraints-devel

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

sudo yum -y install ghc-constraints-devel

How To Uninstall ghc-constraints-devel on Fedora 36

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

sudo dnf remove ghc-constraints-devel

ghc-constraints-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/constraints-0.12
/usr/lib64/ghc-8.10.5/constraints-0.12/Data
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Deferrable.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Deferrable.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Forall.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Forall.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Lifting.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Lifting.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Nat.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Nat.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Symbol.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Symbol.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Unsafe.dyn_hi
/usr/lib64/ghc-8.10.5/constraints-0.12/Data/Constraint/Unsafe.hi
/usr/lib64/ghc-8.10.5/constraints-0.12/libHSconstraints-0.12-3vWUzUbV29vJq979m7LrHQ.a
/usr/lib64/ghc-8.10.5/package.conf.d/constraints-0.12.conf

References

Summary

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