How To Install libuser-simple-perl on Kali Linux

In this tutorial we learn how to install libuser-simple-perl on Kali Linux. libuser-simple-perl is module for simple user sessions management

Introduction

In this tutorial we learn how to install libuser-simple-perl on Kali Linux.

What is libuser-simple-perl

libuser-simple-perl is:

User::Simple provides a very simple framework for validating users, managing their sessions and storing a minimal set of information (this is, a meaningful user login/password pair and the user’s name) via a database. The sessions can be used as identifiers for i.e. cookies on a Web system. The passwords are stored as MD5 hashes (this means, the password is not stored in clear text).

User::Simple was originally developed with a PostgreSQL database in mind, but should work with any DBI handle, be it from a real database (i.e. PostgreSQL, Firebird, MySQL) or from a file-based one (DBD::CSV, DBD::XBase, DBD::DBM, etc.)

There are three methods to install libuser-simple-perl 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 libuser-simple-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 libuser-simple-perl using apt-get by running the following command:

sudo apt-get -y install libuser-simple-perl

Install libuser-simple-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libuser-simple-perl using apt by running the following command:

sudo apt -y install libuser-simple-perl

Install libuser-simple-perl 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 libuser-simple-perl using aptitude by running the following command:

sudo aptitude -y install libuser-simple-perl

How To Uninstall libuser-simple-perl on Kali Linux

To uninstall only the libuser-simple-perl package we can use the following command:

sudo apt-get remove libuser-simple-perl

Uninstall libuser-simple-perl And Its Dependencies

To uninstall libuser-simple-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:

sudo apt-get -y autoremove libuser-simple-perl

Remove libuser-simple-perl Configurations and Data

To remove libuser-simple-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libuser-simple-perl

Remove libuser-simple-perl configuration, data, and all of its dependencies

We can use the following command to remove libuser-simple-perl configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge libuser-simple-perl

Dependencies

libuser-simple-perl have the following dependencies:

References

Summary

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