How To Install xhtml2ps.noarch on Amazon Linux 2

In this tutorial we learn how to install xhtml2ps.noarch in Amazon Linux 2. xhtml2ps.noarch is GUI front-end for html2ps

Introduction

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

What is xhtml2ps.noarch

X-html2ps is freely-available GUI front-end for html2ps, a HTML-to-PostScript converter.

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

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

sudo yum -y install xhtml2ps.noarch

How To Uninstall xhtml2ps.noarch on Amazon Linux 2

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

sudo yum remove xhtml2ps.noarch

xhtml2ps.noarch Package Contents on Amazon Linux 2

/usr/bin/xhtml2ps
/usr/share/applications/xhtml2ps.desktop
/usr/share/doc/xhtml2ps-1.0
/usr/share/doc/xhtml2ps-1.0/LICENSE
/usr/share/doc/xhtml2ps-1.0/README

References

Summary

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