How To Install perl-CGI-Session.noarch on Amazon Linux 2

In this tutorial we learn how to install perl-CGI-Session.noarch in Amazon Linux 2. perl-CGI-Session.noarch is Persistent session data in CGI applications

Introduction

In this tutorial we learn how to install perl-CGI-Session.noarch on Amazon Linux 2.

What is perl-CGI-Session.noarch

CGI-Session is a Perl5 library that provides an easy, reliable and modular session management system across HTTP requests. Persistency is a key feature for such applications as shopping carts, login/authentication routines, and application that need to carry data across HTTP requests. CGI more.

We can use yum to install perl-CGI-Session.noarch on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install perl-CGI-Session.noarch.

Install perl-CGI-Session.noarch on Amazon Linux 2 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install perl-CGI-Session.noarch using yum by running the following command:

sudo yum -y install perl-CGI-Session.noarch

How To Uninstall perl-CGI-Session.noarch on Amazon Linux 2

To uninstall only the perl-CGI-Session.noarch package we can use the following command:

sudo yum remove perl-CGI-Session.noarch

perl-CGI-Session.noarch Package Contents on Amazon Linux 2

/usr/share/doc/perl-CGI-Session-4.35
/usr/share/doc/perl-CGI-Session-4.35/Changes
/usr/share/doc/perl-CGI-Session-4.35/README
/usr/share/doc/perl-CGI-Session-4.35/examples
/usr/share/doc/perl-CGI-Session-4.35/examples/purge.pl
/usr/share/doc/perl-CGI-Session-4.35/examples/subscriptions.cgi
/usr/share/man/man3/CGI::Session.3pm.gz
/usr/share/man/man3/CGI::Session::Driver.3pm.gz
/usr/share/man/man3/CGI::Session::Driver::DBI.3pm.gz
/usr/share/man/man3/CGI::Session::Driver::db_file.3pm.gz
/usr/share/man/man3/CGI::Session::Driver::file.3pm.gz
/usr/share/man/man3/CGI::Session::Driver::mysql.3pm.gz
/usr/share/man/man3/CGI::Session::Driver::postgresql.3pm.gz
/usr/share/man/man3/CGI::Session::Driver::sqlite.3pm.gz
/usr/share/man/man3/CGI::Session::ErrorHandler.3pm.gz
/usr/share/man/man3/CGI::Session::ID::incr.3pm.gz
/usr/share/man/man3/CGI::Session::ID::md5.3pm.gz
/usr/share/man/man3/CGI::Session::ID::static.3pm.gz
/usr/share/man/man3/CGI::Session::Serialize::default.3pm.gz
/usr/share/man/man3/CGI::Session::Serialize::freezethaw.3pm.gz
/usr/share/man/man3/CGI::Session::Serialize::storable.3pm.gz
/usr/share/man/man3/CGI::Session::Test::Default.3pm.gz
/usr/share/man/man3/CGI::Session::Tutorial.3pm.gz
/usr/share/perl5/vendor_perl/CGI
/usr/share/perl5/vendor_perl/CGI/Session
/usr/share/perl5/vendor_perl/CGI/Session.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver
/usr/share/perl5/vendor_perl/CGI/Session/Driver.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver/DBI.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver/db_file.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver/file.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver/mysql.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver/postgresql.pm
/usr/share/perl5/vendor_perl/CGI/Session/Driver/sqlite.pm
/usr/share/perl5/vendor_perl/CGI/Session/ErrorHandler.pm
/usr/share/perl5/vendor_perl/CGI/Session/ID
/usr/share/perl5/vendor_perl/CGI/Session/ID/incr.pm
/usr/share/perl5/vendor_perl/CGI/Session/ID/md5.pm
/usr/share/perl5/vendor_perl/CGI/Session/ID/static.pm
/usr/share/perl5/vendor_perl/CGI/Session/Serialize
/usr/share/perl5/vendor_perl/CGI/Session/Serialize/default.pm
/usr/share/perl5/vendor_perl/CGI/Session/Serialize/freezethaw.pm
/usr/share/perl5/vendor_perl/CGI/Session/Serialize/storable.pm
/usr/share/perl5/vendor_perl/CGI/Session/Test
/usr/share/perl5/vendor_perl/CGI/Session/Test/Default.pm
/usr/share/perl5/vendor_perl/CGI/Session/Tutorial.pm

References

Summary

In this tutorial we learn how to install perl-CGI-Session.noarch on Amazon Linux 2 using yum.