How To Install HaXml on Fedora 34

HaXml is Utilities for using XML documents with Haskell

Introduction

In this tutorial we learn how to install HaXml on Fedora 34.

What is HaXml

This package provides the XML commandline tools for Haskell HaXml library.

We can use yum or dnf to install HaXml on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install HaXml.

Install HaXml on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install HaXml using dnf by running the following command:

sudo dnf -y install HaXml

Install HaXml on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install HaXml using yum by running the following command:

sudo yum -y install HaXml

How To Uninstall HaXml on Fedora 34

To uninstall only the HaXml package we can use the following command:

sudo dnf remove HaXml

HaXml Package Contents on Fedora 34

/usr/bin/Canonicalise
/usr/bin/CanonicaliseLazy
/usr/bin/DtdToHaskell
/usr/bin/FpMLToHaskell
/usr/bin/MkOneOf
/usr/bin/Validate
/usr/bin/XsdToHaskell
/usr/bin/Xtract
/usr/lib/.build-id
/usr/lib/.build-id/35
/usr/lib/.build-id/35/9693d745550e978ca8634756439268c254a9ba
/usr/lib/.build-id/51
/usr/lib/.build-id/51/e4d6669bdf52aaad876bf7bb0cd85e27a0944e
/usr/lib/.build-id/c2
/usr/lib/.build-id/c2/db63b90fc35352e11455ff4af5581247e63967
/usr/lib/.build-id/c6
/usr/lib/.build-id/c6/2a260eb3ea51afc71176ec600929bd154bc0fa
/usr/lib/.build-id/db
/usr/lib/.build-id/db/f23a996dcf61f9f63b7dbe60675775ff25355f
/usr/lib/.build-id/e7
/usr/lib/.build-id/e7/c71cf0dda4e843abef618a93e467ae28450c6f
/usr/lib/.build-id/e8
/usr/lib/.build-id/e8/e28e99cd6aa77ab0fd178f857631439dac5631
/usr/lib/.build-id/fa
/usr/lib/.build-id/fa/5b7ff4359960bce941da36bd808e28ecf7c608
/usr/share/licenses/HaXml
/usr/share/licenses/HaXml/COPYRIGHT
/usr/share/licenses/HaXml/LICENCE-GPL

References

Summary

In this tutorial we learn how to install HaXml on Fedora 34 using yum and dnf.