How To Install mallard-rng.noarch on Amazon Linux 2

In this tutorial we learn how to install mallard-rng.noarch in Amazon Linux 2. mallard-rng.noarch is RELAX NG schemas for all Mallard versions

Introduction

In this tutorial we learn how to install mallard-rng.noarch on Amazon Linux 2.

What is mallard-rng.noarch

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

We can use yum to install mallard-rng.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install mallard-rng.noarch.

Install mallard-rng.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install mallard-rng.noarch

How To Uninstall mallard-rng.noarch on Amazon Linux 2

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

sudo yum remove mallard-rng.noarch

mallard-rng.noarch Package Contents on Amazon Linux 2

/etc/xml/mallard
/etc/xml/mallard/catalog
/usr/share/doc/mallard-rng-1.0.2
/usr/share/doc/mallard-rng-1.0.2/AUTHORS
/usr/share/doc/mallard-rng-1.0.2/NEWS
/usr/share/doc/mallard-rng-1.0.2/README
/usr/share/licenses/mallard-rng-1.0.2
/usr/share/licenses/mallard-rng-1.0.2/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.noarch on Amazon Linux 2 using yum.