How To Install libapache-session-wrapper-perl on Debian 9
Introduction
In this tutorial we learn how to install libapache-session-wrapper-perl
on Debian 9.
What is libapache-session-wrapper-perl
libapache-session-wrapper-perl is:
Apache::Session::Wrapper module is a simple wrapper around Apache::Session which provides some methods to simplify getting and setting the session id.
It can uses cookies to store the session id, or it can look in a provided object for a specific parameter. Alternately, you can simply provide the session id yourself in the call to the session() method.
If you’re using Mason, you should probably take a look at MasonX::Request::WithApacheSession first, which integrates this module directly into Mason.
There are three methods to install libapache-session-wrapper-perl
on Debian 9. We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install libapache-session-wrapper-perl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install libapache-session-wrapper-perl
using apt-get
by running the following command:
sudo apt-get -y install libapache-session-wrapper-perl
Install libapache-session-wrapper-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libapache-session-wrapper-perl
using apt
by running the following command:
sudo apt -y install libapache-session-wrapper-perl
Install libapache-session-wrapper-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install libapache-session-wrapper-perl
using aptitude
by running the following command:
sudo aptitude -y install libapache-session-wrapper-perl
How To Uninstall libapache-session-wrapper-perl on Debian 9
To uninstall only the libapache-session-wrapper-perl
package we can use the following command:
sudo apt-get remove libapache-session-wrapper-perl
Uninstall libapache-session-wrapper-perl And Its Dependencies
To uninstall libapache-session-wrapper-perl
and its dependencies that are no longer needed by Debian 9, we can use the command below:
sudo apt-get -y autoremove libapache-session-wrapper-perl
Remove libapache-session-wrapper-perl Configurations and Data
To remove libapache-session-wrapper-perl
configuration and data from Debian 9 we can use the following command:
sudo apt-get -y purge libapache-session-wrapper-perl
Remove libapache-session-wrapper-perl configuration, data, and all of its dependencies
We can use the following command to remove libapache-session-wrapper-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libapache-session-wrapper-perl
Dependencies
libapache-session-wrapper-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libapache-session-wrapper-perl
package on Debian 9 using different package management tools: apt
, apt-get
and aptitude
.