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

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

Introduction

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

What is ghc-regex-posix-devel

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

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

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

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

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

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

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

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

sudo dnf remove ghc-regex-posix-devel

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

/usr/lib64/ghc-8.10.5/package.conf.d/regex-posix-0.96.0.1.conf
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Paths_regex_posix.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Paths_regex_posix.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/ByteString
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/ByteString.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/ByteString.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/ByteString/Lazy.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/ByteString/Lazy.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/Sequence.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/Sequence.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/String.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/String.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/Wrap.dyn_hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/Text/Regex/Posix/Wrap.hi
/usr/lib64/ghc-8.10.5/regex-posix-0.96.0.1/libHSregex-posix-0.96.0.1-F4JSS9fGdx95aOeG6CtJBb.a
/usr/share/doc/ghc-regex-posix-devel
/usr/share/doc/ghc-regex-posix-devel/ChangeLog.md

References

Summary

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