How To Install ghc-regex-compat on Fedora 36
Introduction
In this tutorial we learn how to install ghc-regex-compat
on Fedora 36.
What is ghc-regex-compat
One module compat layer over <//hackage.haskell.org/package/regex-posix regex-posix> to replace “Text.Regex”. See also <https
We can use yum
or dnf
to install ghc-regex-compat
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-regex-compat.
Install ghc-regex-compat 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
using dnf
by running the following command:
sudo dnf -y install ghc-regex-compat
Install ghc-regex-compat 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
using yum
by running the following command:
sudo yum -y install ghc-regex-compat
How To Uninstall ghc-regex-compat on Fedora 36
To uninstall only the ghc-regex-compat
package we can use the following command:
sudo dnf remove ghc-regex-compat
ghc-regex-compat Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/5c
/usr/lib/.build-id/5c/c1a5322f27e6810d102306a8b7ace2bb23f5b9
/usr/lib64/libHSregex-compat-0.95.2.1-FkG9mtyTsqLEL4SUbM70P4-ghc8.10.5.so
/usr/share/licenses/ghc-regex-compat
/usr/share/licenses/ghc-regex-compat/LICENSE
References
Summary
In this tutorial we learn how to install ghc-regex-compat
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).