How To Install ghc-hxt-regex-xmlschema on Fedora 36

In this tutorial we learn how to install ghc-hxt-regex-xmlschema in Fedora 36. ghc-hxt-regex-xmlschema is A regular expression library for W3C XML Schema regular expressions

Introduction

In this tutorial we learn how to install ghc-hxt-regex-xmlschema on Fedora 36.

What is ghc-hxt-regex-xmlschema

This library supports full W3C XML Schema regular expressions inclusive all Unicode character sets and blocks. The complete grammar can be found under <http technique of derivations of regular expressions. The W3C syntax is extended to support not only union of regular sets, but also intersection, set difference, exor. Matching of subexpressions is also supported. The library can be used for constricting lightweight scanners and tokenizers. It is a standalone library, no external regex libraries are used. Extensions in 9.2 ByteString’s and Text in strict and lazy variants.

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

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

sudo dnf -y install ghc-hxt-regex-xmlschema

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

sudo yum -y install ghc-hxt-regex-xmlschema

How To Uninstall ghc-hxt-regex-xmlschema on Fedora 36

To uninstall only the ghc-hxt-regex-xmlschema package we can use the following command:

sudo dnf remove ghc-hxt-regex-xmlschema

ghc-hxt-regex-xmlschema Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/18
/usr/lib/.build-id/18/ec84aeb482e9d3c5339ff66b4b82d311e77283
/usr/lib64/libHShxt-regex-xmlschema-9.2.0.7-GCv6xQMfWm08Rx1PTxT2NG-ghc8.10.5.so
/usr/share/licenses/ghc-hxt-regex-xmlschema
/usr/share/licenses/ghc-hxt-regex-xmlschema/LICENSE

References

Summary

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