How To Install jtidy.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install jtidy.noarch
on Amazon Linux 2.
What is jtidy.noarch
JTidy is a Java port of HTML Tidy, a HTML syntax checker and pretty printer. Like its non-Java cousin, JTidy can be used as a tool for cleaning up malformed and faulty HTML. In addition, JTidy provides a DOM interface to the document that is being processed, which effectively makes you able to use JTidy as a DOM parser for real-world HTML.
We can use yum
to install jtidy.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install jtidy.noarch.
Install jtidy.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 jtidy.noarch
using yum
by running the following command:
sudo yum -y install jtidy.noarch
How To Uninstall jtidy.noarch on Amazon Linux 2
To uninstall only the jtidy.noarch
package we can use the following command:
sudo yum remove jtidy.noarch
jtidy.noarch Package Contents on Amazon Linux 2
/etc/ant.d/jtidy
/usr/bin/jtidy
/usr/share/doc/jtidy-1.0
/usr/share/doc/jtidy-1.0/LICENSE.txt
/usr/share/java/jtidy.jar
/usr/share/maven-fragments/jtidy
/usr/share/maven-poms/JPP-jtidy.pom
References
Summary
In this tutorial we learn how to install jtidy.noarch
on Amazon Linux 2 using yum.