How To Install libtest-without-module-perl on Kali Linux

In this tutorial we learn how to install libtest-without-module-perl on Kali Linux. libtest-without-module-perl is test fallback behaviour in absence of modules

Introduction

In this tutorial we learn how to install libtest-without-module-perl on Kali Linux.

What is libtest-without-module-perl

libtest-without-module-perl is:

Test::Without::Module allows you to deliberately hide modules from a program even though they are installed. This is mostly useful for testing modules that have a fallback when a certain dependency module is not installed.

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

sudo apt-get -y install libtest-without-module-perl

Install libtest-without-module-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libtest-without-module-perl using apt by running the following command:

sudo apt -y install libtest-without-module-perl

Install libtest-without-module-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 libtest-without-module-perl using aptitude by running the following command:

sudo aptitude -y install libtest-without-module-perl

How To Uninstall libtest-without-module-perl on Kali Linux

To uninstall only the libtest-without-module-perl package we can use the following command:

sudo apt-get remove libtest-without-module-perl

Uninstall libtest-without-module-perl And Its Dependencies

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

sudo apt-get -y autoremove libtest-without-module-perl

Remove libtest-without-module-perl Configurations and Data

To remove libtest-without-module-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libtest-without-module-perl

Remove libtest-without-module-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtest-without-module-perl

Dependencies

libtest-without-module-perl have the following dependencies:

References

Summary

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