How To Install perl-CGI-Prototype on Fedora 36

In this tutorial we learn how to install perl-CGI-Prototype in Fedora 36. perl-CGI-Prototype is Create a CGI application by subclassing

Introduction

In this tutorial we learn how to install perl-CGI-Prototype on Fedora 36.

What is perl-CGI-Prototype

The core of every CGI application seems to be roughly the same * Analyze the incoming parameters, cookies, and URLs to determine the state of the application (let’s call this “dispatch”). * Based on the current state, analyze the incoming parameters to respond to any form submitted (“respond”). * From there, decide what response page should be generated, and produce it (“render”). CGI the right amount of callback hooks to customize the process. Because I’m biased toward Template Toolkit for rendering HTML, I’ve also integrated that as my rendering engine of choice. And, being a fan of clean MVC designs, the classes become the controllers, and the templates become the views, with clean separation of responsibilities, and “CGI controller.

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

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

sudo dnf -y install perl-CGI-Prototype

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

sudo yum -y install perl-CGI-Prototype

How To Uninstall perl-CGI-Prototype on Fedora 36

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

sudo dnf remove perl-CGI-Prototype

perl-CGI-Prototype Package Contents on Fedora 36

/usr/share/doc/perl-CGI-Prototype
/usr/share/doc/perl-CGI-Prototype/Changes
/usr/share/doc/perl-CGI-Prototype/README
/usr/share/doc/perl-CGI-Prototype/TODO
/usr/share/doc/perl-CGI-Prototype/t
/usr/share/doc/perl-CGI-Prototype/t/01-CGIP-core.t
/usr/share/doc/perl-CGI-Prototype/t/02-CGIP-flow.t
/usr/share/doc/perl-CGI-Prototype/t/03-CGIP-error.t
/usr/share/doc/perl-CGI-Prototype/t/10-CGIPH-core.t
/usr/share/doc/perl-CGI-Prototype/t/98-TestPod.t
/usr/share/doc/perl-CGI-Prototype/t/99-TestPodCoverage.t
/usr/share/doc/perl-CGI-Prototype/t/TestApp
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App.pm
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App/WRAPPER.tt
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App/thanks.pm
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App/thanks.tt
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App/welcome.pm
/usr/share/doc/perl-CGI-Prototype/t/TestApp/My/App/welcome.tt
/usr/share/doc/perl-CGI-Prototype/t/cprove
/usr/share/man/man3/CGI::Prototype.3pm.gz
/usr/share/man/man3/CGI::Prototype::Hidden.3pm.gz
/usr/share/perl5/vendor_perl/CGI
/usr/share/perl5/vendor_perl/CGI/Prototype
/usr/share/perl5/vendor_perl/CGI/Prototype.pm
/usr/share/perl5/vendor_perl/CGI/Prototype/Hidden.pm

References

Summary

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