How To Install mallard-rng on Rocky Linux 8

In this tutorial we learn how to install mallard-rng on Rocky Linux 8. mallard-rng is RELAX NG schemas for all Mallard versions

Introduction

In this tutorial we learn how to install mallard-rng on Rocky Linux 8.

What is mallard-rng

RELAX NG schemas for all Mallard versions and extensions that have been marked final.

We can use yum or dnf to install mallard-rng on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install mallard-rng.

Install mallard-rng on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install mallard-rng

Install mallard-rng on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install mallard-rng using yum by running the following command:

sudo yum -y install mallard-rng

How To Uninstall mallard-rng on Rocky Linux 8

To uninstall only the mallard-rng package we can use the following command:

sudo dnf remove mallard-rng

mallard-rng Package Contents on Rocky Linux 8

/etc/xml/mallard
/etc/xml/mallard/catalog
/usr/share/doc/mallard-rng
/usr/share/doc/mallard-rng/AUTHORS
/usr/share/doc/mallard-rng/NEWS
/usr/share/doc/mallard-rng/README
/usr/share/licenses/mallard-rng
/usr/share/licenses/mallard-rng/COPYING
/usr/share/pkgconfig
/usr/share/pkgconfig/mallard-rng.pc
/usr/share/xml/mallard
/usr/share/xml/mallard/1.0
/usr/share/xml/mallard/1.0/mallard-1.0.rnc
/usr/share/xml/mallard/1.0/mallard-1.0.rng
/usr/share/xml/mallard/cache
/usr/share/xml/mallard/cache/1.0
/usr/share/xml/mallard/cache/1.0/cache-1.0.rnc
/usr/share/xml/mallard/cache/1.0/cache-1.0.rng
/usr/share/xml/mallard/if
/usr/share/xml/mallard/if/1.0
/usr/share/xml/mallard/if/1.0/if-1.0.rnc
/usr/share/xml/mallard/if/1.0/if-1.0.rng

References

Summary

In this tutorial we learn how to install mallard-rng on Rocky Linux 8 using yum and dnf.