How To Install perl-Data-JavaScript on Fedora 36

In this tutorial we learn how to install perl-Data-JavaScript in Fedora 36. perl-Data-JavaScript is Dump perl data structures into JavaScript code

Introduction

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

What is perl-Data-JavaScript

This module is mainly intended for CGI programming, when a perl script generates a page with client side JavaScript code that needs access to structures created on the server.

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

Install perl-Data-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-Data-JavaScript using dnf by running the following command:

sudo dnf -y install perl-Data-JavaScript

Install perl-Data-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-Data-JavaScript using yum by running the following command:

sudo yum -y install perl-Data-JavaScript

How To Uninstall perl-Data-JavaScript on Fedora 36

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

sudo dnf remove perl-Data-JavaScript

perl-Data-JavaScript Package Contents on Fedora 36

/usr/share/doc/perl-Data-JavaScript
/usr/share/doc/perl-Data-JavaScript/CHANGES
/usr/share/doc/perl-Data-JavaScript/CONTRIBUTING.md
/usr/share/doc/perl-Data-JavaScript/README.md
/usr/share/doc/perl-Data-JavaScript/TODO
/usr/share/licenses/perl-Data-JavaScript
/usr/share/licenses/perl-Data-JavaScript/LICENSE
/usr/share/man/man3/Data::JavaScript.3pm.gz
/usr/share/perl5/vendor_perl/Data
/usr/share/perl5/vendor_perl/Data/JavaScript.pm
/usr/share/perl5/vendor_perl/Data/example.pl

References

Summary

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