How To Install nekohtml.noarch on Amazon Linux 2
Introduction
In this tutorial we learn how to install nekohtml.noarch
on Amazon Linux 2.
What is nekohtml.noarch
NekoHTML is a simple HTML scanner and tag balancer that enables application programmers to parse HTML documents and access the information using standard XML interfaces. The parser can scan HTML files and “fix up” many common mistakes that human (and computer) authors make in writing HTML documents. NekoHTML adds missing parent elements; automatically closes elements with optional end tags; and can handle mismatched inline element tags. NekoHTML is written using the Xerces Native Interface (XNI) that is the foundation of the Xerces2 implementation. This enables you to use the NekoHTML parser with existing XNI tools without modification or rewriting code.
We can use yum
to install nekohtml.noarch
on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install nekohtml.noarch.
Install nekohtml.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 nekohtml.noarch
using yum
by running the following command:
sudo yum -y install nekohtml.noarch
How To Uninstall nekohtml.noarch on Amazon Linux 2
To uninstall only the nekohtml.noarch
package we can use the following command:
sudo yum remove nekohtml.noarch
nekohtml.noarch Package Contents on Amazon Linux 2
/usr/bin/nekohtml-filter
/usr/share/doc/nekohtml-1.9.14
/usr/share/doc/nekohtml-1.9.14/LICENSE.txt
/usr/share/doc/nekohtml-1.9.14/README.txt
/usr/share/doc/nekohtml-1.9.14/changes.html
/usr/share/doc/nekohtml-1.9.14/faq.html
/usr/share/doc/nekohtml-1.9.14/filters.html
/usr/share/doc/nekohtml-1.9.14/index.html
/usr/share/doc/nekohtml-1.9.14/settings.html
/usr/share/doc/nekohtml-1.9.14/software.html
/usr/share/doc/nekohtml-1.9.14/usage.html
/usr/share/java/nekohtml-xni.jar
/usr/share/java/nekohtml.jar
/usr/share/maven-fragments/nekohtml
/usr/share/maven-poms/JPP-nekohtml.pom
References
Summary
In this tutorial we learn how to install nekohtml.noarch
on Amazon Linux 2 using yum.