How To Install libdevel-repl-perl on Kali Linux

In this tutorial we learn how to install libdevel-repl-perl on Kali Linux. libdevel-repl-perl is module for building a modern Perl interactive shell

Introduction

In this tutorial we learn how to install libdevel-repl-perl on Kali Linux.

What is libdevel-repl-perl

libdevel-repl-perl is:

Devel::REPL is a module for creating Read-Evaluate-Print-Loops (REPL) in Perl. The shell provides for rapid development or testing of code without the need to create a temporary source code file.

Through a plugin system, many features are available on demand. You can also tailor the environment through the use of profiles and run control files, for example to pre-load certain Perl modules when working on a particular project.

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

sudo apt-get -y install libdevel-repl-perl

Install libdevel-repl-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdevel-repl-perl

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

sudo aptitude -y install libdevel-repl-perl

How To Uninstall libdevel-repl-perl on Kali Linux

To uninstall only the libdevel-repl-perl package we can use the following command:

sudo apt-get remove libdevel-repl-perl

Uninstall libdevel-repl-perl And Its Dependencies

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

sudo apt-get -y autoremove libdevel-repl-perl

Remove libdevel-repl-perl Configurations and Data

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

sudo apt-get -y purge libdevel-repl-perl

Remove libdevel-repl-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdevel-repl-perl

Dependencies

libdevel-repl-perl have the following dependencies:

References

Summary

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