How To Install xml-stylebook.noarch on Amazon Linux 2

In this tutorial we learn how to install xml-stylebook.noarch in Amazon Linux 2. xml-stylebook.noarch is Apache XML Stylebook

Introduction

In this tutorial we learn how to install xml-stylebook.noarch on Amazon Linux 2.

What is xml-stylebook.noarch

Apache XML Stylebook is a HTML documentation generator.

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

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

sudo yum -y install xml-stylebook.noarch

How To Uninstall xml-stylebook.noarch on Amazon Linux 2

To uninstall only the xml-stylebook.noarch package we can use the following command:

sudo yum remove xml-stylebook.noarch

xml-stylebook.noarch Package Contents on Amazon Linux 2

/usr/share/doc/xml-stylebook-1.0
/usr/share/doc/xml-stylebook-1.0/LICENSE.txt
/usr/share/java/xml-stylebook.jar

References

Summary

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