How To Install ghc-regex-base on Fedora 36
Introduction
In this tutorial we learn how to install ghc-regex-base
on Fedora 36.
What is ghc-regex-base
This package does not provide the ability to do regular expression matching. Instead, it provides the type classes that constitute the abstract API that is implemented by ‘regex-*’ backends such as * <https * <https * <https * <https * <https See also <https
We can use yum
or dnf
to install ghc-regex-base
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-regex-base.
Install ghc-regex-base 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-base
using dnf
by running the following command:
sudo dnf -y install ghc-regex-base
Install ghc-regex-base 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-base
using yum
by running the following command:
sudo yum -y install ghc-regex-base
How To Uninstall ghc-regex-base on Fedora 36
To uninstall only the ghc-regex-base
package we can use the following command:
sudo dnf remove ghc-regex-base
ghc-regex-base Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/10
/usr/lib/.build-id/10/960195f519f83e72a499c32b427eedcfb3c956
/usr/lib64/libHSregex-base-0.94.0.1-BhcrfAa0EaQLabAeJ8QV4e-ghc8.10.5.so
/usr/share/licenses/ghc-regex-base
/usr/share/licenses/ghc-regex-base/LICENSE
References
Summary
In this tutorial we learn how to install ghc-regex-base
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).