How To Install perl-CGI-PSGI on Fedora 36

In this tutorial we learn how to install perl-CGI-PSGI in Fedora 36. perl-CGI-PSGI is Enable your CGI.pm aware applications to adapt PSGI protocol

Introduction

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

What is perl-CGI-PSGI

This module is for web application framework developers who currently uses CGI to handle query parameters. You can switch to use CGI CGI, to make your framework compatible to PSGI with a slight modification of your framework adapter. The framework should already be collecting the body content to print at one place, and not printing any content directly to STDOUT.

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

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

sudo dnf -y install perl-CGI-PSGI

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

sudo yum -y install perl-CGI-PSGI

How To Uninstall perl-CGI-PSGI on Fedora 36

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

sudo dnf remove perl-CGI-PSGI

perl-CGI-PSGI Package Contents on Fedora 36

/usr/share/doc/perl-CGI-PSGI
/usr/share/doc/perl-CGI-PSGI/Changes
/usr/share/doc/perl-CGI-PSGI/README
/usr/share/man/man3/CGI::PSGI.3pm.gz
/usr/share/perl5/vendor_perl/CGI
/usr/share/perl5/vendor_perl/CGI/PSGI.pm

References

Summary

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