How To Install libpath-dispatcher-perl on Kali Linux

In this tutorial we learn how to install libpath-dispatcher-perl on Kali Linux. libpath-dispatcher-perl is flexible and extensible dispatcher module

Introduction

In this tutorial we learn how to install libpath-dispatcher-perl on Kali Linux.

What is libpath-dispatcher-perl

libpath-dispatcher-perl is:

Path::Dispatcher is a Perl module that allows a program to determine which code to execute by matching a path against a list of rules. Dispatch takes a path and returns a list of matches; from there, you can “run” the rules that matched. Developers may also inspect which rules were matched without executing their codeblocks.

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

sudo apt-get -y install libpath-dispatcher-perl

Install libpath-dispatcher-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libpath-dispatcher-perl

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

sudo aptitude -y install libpath-dispatcher-perl

How To Uninstall libpath-dispatcher-perl on Kali Linux

To uninstall only the libpath-dispatcher-perl package we can use the following command:

sudo apt-get remove libpath-dispatcher-perl

Uninstall libpath-dispatcher-perl And Its Dependencies

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

sudo apt-get -y autoremove libpath-dispatcher-perl

Remove libpath-dispatcher-perl Configurations and Data

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

sudo apt-get -y purge libpath-dispatcher-perl

Remove libpath-dispatcher-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libpath-dispatcher-perl

Dependencies

libpath-dispatcher-perl have the following dependencies:

References

Summary

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