How To Install tagsoup.noarch on Amazon Linux 2

In this tutorial we learn how to install tagsoup.noarch in Amazon Linux 2. tagsoup.noarch is A SAX-compliant HTML parser written in Java

Introduction

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

What is tagsoup.noarch

TagSoup is a SAX-compliant parser written in Java that, instead of parsing well-formed or valid XML, parses HTML as it is found in the wild TagSoup is designed for people who have to process this stuff using some semblance of a rational application design. By providing a SAX interface, it allows standard XML tools to be applied to even the worst HTML.

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

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

sudo yum -y install tagsoup.noarch

How To Uninstall tagsoup.noarch on Amazon Linux 2

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

sudo yum remove tagsoup.noarch

tagsoup.noarch Package Contents on Amazon Linux 2

/usr/share/doc/tagsoup-1.2.1
/usr/share/doc/tagsoup-1.2.1/CHANGES
/usr/share/doc/tagsoup-1.2.1/LICENSE
/usr/share/doc/tagsoup-1.2.1/README
/usr/share/doc/tagsoup-1.2.1/TODO
/usr/share/doc/tagsoup-1.2.1/tagsoup.txt
/usr/share/java/tagsoup.jar
/usr/share/man/man1/tagsoup.1.gz
/usr/share/maven-fragments/tagsoup
/usr/share/maven-poms/JPP-tagsoup.pom

References

Summary

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