How To Install libstring-random-perl on Kali Linux

In this tutorial we learn how to install libstring-random-perl on Kali Linux. libstring-random-perl is Perl module for generating random strings

Introduction

In this tutorial we learn how to install libstring-random-perl on Kali Linux.

What is libstring-random-perl

libstring-random-perl is:

String::Random is used to generate random strings based on provided patterns. It was written to make generating random passwords and such a little easier.

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

sudo apt-get -y install libstring-random-perl

Install libstring-random-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstring-random-perl

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

sudo aptitude -y install libstring-random-perl

How To Uninstall libstring-random-perl on Kali Linux

To uninstall only the libstring-random-perl package we can use the following command:

sudo apt-get remove libstring-random-perl

Uninstall libstring-random-perl And Its Dependencies

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

sudo apt-get -y autoremove libstring-random-perl

Remove libstring-random-perl Configurations and Data

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

sudo apt-get -y purge libstring-random-perl

Remove libstring-random-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libstring-random-perl

Dependencies

libstring-random-perl have the following dependencies:

References

Summary

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