How To Install ghc-pcre-light on Fedora 36
Introduction
In this tutorial we learn how to install ghc-pcre-light
on Fedora 36.
What is ghc-pcre-light
A small, efficient and portable regex library for Perl 5 compatible regular expressions. The PCRE library is a set of functions that implement regular expression pattern matching using the same syntax and semantics as Perl 5.
We can use yum
or dnf
to install ghc-pcre-light
on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install ghc-pcre-light.
Install ghc-pcre-light 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-pcre-light
using dnf
by running the following command:
sudo dnf -y install ghc-pcre-light
Install ghc-pcre-light 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-pcre-light
using yum
by running the following command:
sudo yum -y install ghc-pcre-light
How To Uninstall ghc-pcre-light on Fedora 36
To uninstall only the ghc-pcre-light
package we can use the following command:
sudo dnf remove ghc-pcre-light
ghc-pcre-light Package Contents on Fedora 36
/usr/lib/.build-id
/usr/lib/.build-id/29
/usr/lib/.build-id/29/be13bf9bc17d59e8e308c3aea3980c2e9f0be5
/usr/lib64/libHSpcre-light-0.4.1.0-49IZWgnhMR1Cce5oF6A0kv-ghc8.10.5.so
/usr/share/licenses/ghc-pcre-light
/usr/share/licenses/ghc-pcre-light/LICENSE
References
Summary
In this tutorial we learn how to install ghc-pcre-light
on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).