How To Install libdebian-source-perl on Kali Linux

In this tutorial we learn how to install libdebian-source-perl on Kali Linux. libdebian-source-perl is collection of Perl modules for handling Debian source packages

Introduction

In this tutorial we learn how to install libdebian-source-perl on Kali Linux.

What is libdebian-source-perl

libdebian-source-perl is:

This collection of Perl modules was originally developed to support dh-make-perl, but may also be useful for other tools that need to manipulate (unpacked) Debian source packages. The current modules in the package are:

  • Debian::Control
  • Debian::Control::Stanza
  • Debian::Control::Stanza::Binary
  • Debian::Control::Stanza::CommaSeparated
  • Debian::Control::Stanza::Source
  • Debian::Dependencies
  • Debian::Dependency
  • Debian::DpkgLists
  • Debian::Rules
  • Debian::WNPP::Bug
  • Debian::WNPP::Query

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

sudo apt-get -y install libdebian-source-perl

Install libdebian-source-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdebian-source-perl

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

sudo aptitude -y install libdebian-source-perl

How To Uninstall libdebian-source-perl on Kali Linux

To uninstall only the libdebian-source-perl package we can use the following command:

sudo apt-get remove libdebian-source-perl

Uninstall libdebian-source-perl And Its Dependencies

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

sudo apt-get -y autoremove libdebian-source-perl

Remove libdebian-source-perl Configurations and Data

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

sudo apt-get -y purge libdebian-source-perl

Remove libdebian-source-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdebian-source-perl

Dependencies

libdebian-source-perl have the following dependencies:

References

Summary

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