How To Install perl-SGMLSpm on Rocky Linux 8

In this tutorial we learn how to install perl-SGMLSpm on Rocky Linux 8. perl-SGMLSpm is Perl library for parsing the output of nsgmls

Introduction

In this tutorial we learn how to install perl-SGMLSpm on Rocky Linux 8.

What is perl-SGMLSpm

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

We can use yum or dnf to install perl-SGMLSpm on Rocky Linux 8. In this tutorial we discuss both methods but you only need to choose one of method to install perl-SGMLSpm.

Install perl-SGMLSpm on Rocky Linux 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install perl-SGMLSpm using dnf by running the following command:

sudo dnf -y install perl-SGMLSpm

Install perl-SGMLSpm on Rocky Linux 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-SGMLSpm using yum by running the following command:

sudo yum -y install perl-SGMLSpm

How To Uninstall perl-SGMLSpm on Rocky Linux 8

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

sudo dnf remove perl-SGMLSpm

perl-SGMLSpm Package Contents on Rocky Linux 8

/usr/bin/sgmlspl
/usr/share/doc/perl-SGMLSpm
/usr/share/doc/perl-SGMLSpm/COPYING
/usr/share/doc/perl-SGMLSpm/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 on Rocky Linux 8 using yum and dnf.