How To Install perl-SGMLSpm.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-SGMLSpm.noarch in Amazon Linux 2. perl-SGMLSpm.noarch is Perl library for parsing the output of nsgmls

Introduction

In this tutorial we learn how to install perl-SGMLSpm.noarch on Amazon Linux 2.

What is perl-SGMLSpm.noarch

Perl programs can use the SGMLSpm module to help convert SGML, HTML or XML documents into new formats.

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

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

sudo yum -y install perl-SGMLSpm.noarch

How To Uninstall perl-SGMLSpm.noarch on Amazon Linux 2

To uninstall only the perl-SGMLSpm.noarch package we can use the following command:

sudo yum remove perl-SGMLSpm.noarch

perl-SGMLSpm.noarch Package Contents on Amazon Linux 2

/usr/bin/sgmlspl
/usr/share/doc/perl-SGMLSpm-1.03ii
/usr/share/doc/perl-SGMLSpm-1.03ii/COPYING
/usr/share/doc/perl-SGMLSpm-1.03ii/README
/usr/share/perl5/vendor_perl/SGMLS
/usr/share/perl5/vendor_perl/SGMLS.pm
/usr/share/perl5/vendor_perl/SGMLS/Output.pm
/usr/share/perl5/vendor_perl/SGMLS/Refs.pm
/usr/share/perl5/vendor_perl/skel.pl

References

Summary

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