How To Install perl-Template-Plugin-JavaScript on Fedora 36

In this tutorial we learn how to install perl-Template-Plugin-JavaScript in Fedora 36. perl-Template-Plugin-JavaScript is Encodes text to be safe in JavaScript

Introduction

In this tutorial we learn how to install perl-Template-Plugin-JavaScript on Fedora 36.

What is perl-Template-Plugin-JavaScript

Template be safely used in JavaScript quotes. e.g [% USE JavaScript %] document.write("[% FILTER js %] Here’s some text going on. [% END %]"); will become document.write("\nHere's some text going on.\n");

We can use yum or dnf to install perl-Template-Plugin-JavaScript on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install perl-Template-Plugin-JavaScript.

Install perl-Template-Plugin-JavaScript on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

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

sudo dnf -y install perl-Template-Plugin-JavaScript

Install perl-Template-Plugin-JavaScript on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

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

sudo yum -y install perl-Template-Plugin-JavaScript

How To Uninstall perl-Template-Plugin-JavaScript on Fedora 36

To uninstall only the perl-Template-Plugin-JavaScript package we can use the following command:

sudo dnf remove perl-Template-Plugin-JavaScript

perl-Template-Plugin-JavaScript Package Contents on Fedora 36

/usr/share/doc/perl-Template-Plugin-JavaScript
/usr/share/doc/perl-Template-Plugin-JavaScript/Changes
/usr/share/man/man3/Template::Plugin::JavaScript.3pm.gz
/usr/share/perl5/vendor_perl/Template
/usr/share/perl5/vendor_perl/Template/Plugin
/usr/share/perl5/vendor_perl/Template/Plugin/JavaScript.pm

References

Summary

In this tutorial we learn how to install perl-Template-Plugin-JavaScript on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).