How To Install perl-CGI-Session on CentOS 7

In this tutorial we learn how to install perl-CGI-Session on CentOS 7. perl-CGI-Session is Persistent session data in CGI applications

Introduction

In this tutorial we learn how to install perl-CGI-Session on CentOS 7.

What is perl-CGI-Session

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 or dnf to install perl-CGI-Session on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install perl-CGI-Session.

Install perl-CGI-Session on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

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

sudo yum -y install perl-CGI-Session

Install perl-CGI-Session on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

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

sudo dnf -y install perl-CGI-Session

How To Uninstall perl-CGI-Session on CentOS 7

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

sudo dnf remove perl-CGI-Session

References

Summary

In this tutorial we learn how to install perl-CGI-Session on CentOS 7 using yum and dnf.