How To Install php-illuminate-session on Kali Linux

In this tutorial we learn how to install php-illuminate-session on Kali Linux. php-illuminate-session is Illuminate Session library component for PHP

Introduction

In this tutorial we learn how to install php-illuminate-session on Kali Linux.

What is php-illuminate-session

php-illuminate-session is:

The Illuminate Session library component provides a unified API for various user session management backends for PHP applications. It currently supports backends such as a local file system, a database, Memcached or Redis.

Illuminate is a collection of PHP library components developed primarily for the Laravel framework.

There are three methods to install php-illuminate-session on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install php-illuminate-session Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install php-illuminate-session using apt-get by running the following command:

sudo apt-get -y install php-illuminate-session

Install php-illuminate-session Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install php-illuminate-session using apt by running the following command:

sudo apt -y install php-illuminate-session

Install php-illuminate-session Using aptitude

If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install php-illuminate-session using aptitude by running the following command:

sudo aptitude -y install php-illuminate-session

How To Uninstall php-illuminate-session on Kali Linux

To uninstall only the php-illuminate-session package we can use the following command:

sudo apt-get remove php-illuminate-session

Uninstall php-illuminate-session And Its Dependencies

To uninstall php-illuminate-session and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove php-illuminate-session

Remove php-illuminate-session Configurations and Data

To remove php-illuminate-session configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge php-illuminate-session

Remove php-illuminate-session configuration, data, and all of its dependencies

We can use the following command to remove php-illuminate-session configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge php-illuminate-session

Dependencies

php-illuminate-session have the following dependencies:

References

Summary

In this tutorial we learn how to install php-illuminate-session package on Kali Linux using different package management tools: apt, apt-get and aptitude.