How To Install libdist-zilla-perl on Kali Linux

In this tutorial we learn how to install libdist-zilla-perl on Kali Linux. libdist-zilla-perl is Perl distribution builder

Introduction

In this tutorial we learn how to install libdist-zilla-perl on Kali Linux.

What is libdist-zilla-perl

libdist-zilla-perl is:

Dist::Zilla builds distributions of code to be uploaded to the CPAN. In this respect, it is like ExtUtils::MakeMaker, Module::Build, or Module::Install. Unlike those tools, however, it is not also a system for installing code that has been downloaded from the CPAN. Since it’s only run by authors, and is meant to be run on a repository checkout rather than on published, released code, it can do much more than those tools, and is free to make much more ludicrous demands in terms of prerequisites.

It’s aim is to generate every file which is needed by a CPAN distribution, but usually generated and hence commonly not checked in into a VCS repository. For that it reads a file called dist.ini and gathers data from other files as instructured in that file.

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

sudo apt-get -y install libdist-zilla-perl

Install libdist-zilla-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libdist-zilla-perl

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

sudo aptitude -y install libdist-zilla-perl

How To Uninstall libdist-zilla-perl on Kali Linux

To uninstall only the libdist-zilla-perl package we can use the following command:

sudo apt-get remove libdist-zilla-perl

Uninstall libdist-zilla-perl And Its Dependencies

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

sudo apt-get -y autoremove libdist-zilla-perl

Remove libdist-zilla-perl Configurations and Data

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

sudo apt-get -y purge libdist-zilla-perl

Remove libdist-zilla-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdist-zilla-perl

Dependencies

libdist-zilla-perl have the following dependencies:

References

Summary

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