How To Install xmltoman.noarch on Amazon Linux 2

In this tutorial we learn how to install xmltoman.noarch in Amazon Linux 2. xmltoman.noarch is Scripts for converting XML to roff or HTML

Introduction

In this tutorial we learn how to install xmltoman.noarch on Amazon Linux 2.

What is xmltoman.noarch

This package provides xmltoman and xmlmantohtml scripts, to compile the xml representation of manual page to either roff source, or HTML (while providing the CSS stylesheet for eye-candy look). XSL stylesheet for doing rougly the same job is provided.

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

Install xmltoman.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 xmltoman.noarch using yum by running the following command:

sudo yum -y install xmltoman.noarch

How To Uninstall xmltoman.noarch on Amazon Linux 2

To uninstall only the xmltoman.noarch package we can use the following command:

sudo yum remove xmltoman.noarch

xmltoman.noarch Package Contents on Amazon Linux 2

/usr/bin/xmlmantohtml
/usr/bin/xmltoman
/usr/share/doc/xmltoman-0.4
/usr/share/doc/xmltoman-0.4/COPYING
/usr/share/doc/xmltoman-0.4/README
/usr/share/man/man1/xmlmantohtml.1.gz
/usr/share/man/man1/xmltoman.1.gz
/usr/share/xmltoman
/usr/share/xmltoman/xmltoman.css
/usr/share/xmltoman/xmltoman.dtd
/usr/share/xmltoman/xmltoman.xsl

References

Summary

In this tutorial we learn how to install xmltoman.noarch on Amazon Linux 2 using yum.