How To Install ghc-refact-devel on Fedora 36

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

Introduction

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

What is ghc-refact-devel

This package provides the Haskell refact library development files.

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

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

sudo dnf -y install ghc-refact-devel

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

sudo yum -y install ghc-refact-devel

How To Uninstall ghc-refact-devel on Fedora 36

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

sudo dnf remove ghc-refact-devel

ghc-refact-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/refact-0.3.0.2.conf
/usr/lib64/ghc-8.10.5/refact-0.3.0.2
/usr/lib64/ghc-8.10.5/refact-0.3.0.2/Refact
/usr/lib64/ghc-8.10.5/refact-0.3.0.2/Refact/Types.dyn_hi
/usr/lib64/ghc-8.10.5/refact-0.3.0.2/Refact/Types.hi
/usr/lib64/ghc-8.10.5/refact-0.3.0.2/libHSrefact-0.3.0.2-JKNk3jm7RIRD7pQxWgpJCE.a
/usr/share/doc/ghc-refact-devel
/usr/share/doc/ghc-refact-devel/CHANGELOG
/usr/share/doc/ghc-refact-devel/README.md

References

Summary

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