How To Install ghc-regex-compat-devel on Fedora 36

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

Introduction

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

What is ghc-regex-compat-devel

This package provides the Haskell regex-compat library development files.

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

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

sudo dnf -y install ghc-regex-compat-devel

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

sudo yum -y install ghc-regex-compat-devel

How To Uninstall ghc-regex-compat-devel on Fedora 36

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

sudo dnf remove ghc-regex-compat-devel

ghc-regex-compat-devel Package Contents on Fedora 36

/usr/lib64/ghc-8.10.5/package.conf.d/regex-compat-0.95.2.1.conf
/usr/lib64/ghc-8.10.5/regex-compat-0.95.2.1
/usr/lib64/ghc-8.10.5/regex-compat-0.95.2.1/Text
/usr/lib64/ghc-8.10.5/regex-compat-0.95.2.1/Text/Regex.dyn_hi
/usr/lib64/ghc-8.10.5/regex-compat-0.95.2.1/Text/Regex.hi
/usr/lib64/ghc-8.10.5/regex-compat-0.95.2.1/libHSregex-compat-0.95.2.1-FkG9mtyTsqLEL4SUbM70P4.a
/usr/share/doc/ghc-regex-compat-devel
/usr/share/doc/ghc-regex-compat-devel/ChangeLog.md

References

Summary

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