How To Install libb-debug-perl on Kali Linux

In this tutorial we learn how to install libb-debug-perl on Kali Linux. libb-debug-perl is module to print debug info about perl ops

Introduction

In this tutorial we learn how to install libb-debug-perl on Kali Linux.

What is libb-debug-perl

libb-debug-perl is:

The B::Debug module walks the Perl syntax tree, printing debug info about ops.

The B module supplies classes which allow a Perl program to delve into its own innards. It is the module used to implement the “backends” of the Perl compiler.

B::Debug in perl core is deprecated in 5.27.3 and will be removed in the future.

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

sudo apt-get -y install libb-debug-perl

Install libb-debug-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libb-debug-perl

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

sudo aptitude -y install libb-debug-perl

How To Uninstall libb-debug-perl on Kali Linux

To uninstall only the libb-debug-perl package we can use the following command:

sudo apt-get remove libb-debug-perl

Uninstall libb-debug-perl And Its Dependencies

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

sudo apt-get -y autoremove libb-debug-perl

Remove libb-debug-perl Configurations and Data

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

sudo apt-get -y purge libb-debug-perl

Remove libb-debug-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libb-debug-perl

Dependencies

libb-debug-perl have the following dependencies:

References

Summary

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