How To Install libdirectory-scratch-structured-perl on Kali Linux

In this tutorial we learn how to install libdirectory-scratch-structured-perl on Kali Linux. libdirectory-scratch-structured-perl is module to create temporary files and directories from a structured description

Introduction

In this tutorial we learn how to install libdirectory-scratch-structured-perl on Kali Linux.

What is libdirectory-scratch-structured-perl

libdirectory-scratch-structured-perl is:

Directory::Scratch::Structured extends the Directory::Scratch module by adding a create_structured_tree subroutine, which can accept an Array or an Hash as arguments, creating files or directories, respectively.

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

sudo apt-get -y install libdirectory-scratch-structured-perl

Install libdirectory-scratch-structured-perl Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install libdirectory-scratch-structured-perl using apt by running the following command:

sudo apt -y install libdirectory-scratch-structured-perl

Install libdirectory-scratch-structured-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 libdirectory-scratch-structured-perl using aptitude by running the following command:

sudo aptitude -y install libdirectory-scratch-structured-perl

How To Uninstall libdirectory-scratch-structured-perl on Kali Linux

To uninstall only the libdirectory-scratch-structured-perl package we can use the following command:

sudo apt-get remove libdirectory-scratch-structured-perl

Uninstall libdirectory-scratch-structured-perl And Its Dependencies

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

sudo apt-get -y autoremove libdirectory-scratch-structured-perl

Remove libdirectory-scratch-structured-perl Configurations and Data

To remove libdirectory-scratch-structured-perl configuration and data from Kali Linux we can use the following command:

sudo apt-get -y purge libdirectory-scratch-structured-perl

Remove libdirectory-scratch-structured-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libdirectory-scratch-structured-perl

Dependencies

libdirectory-scratch-structured-perl have the following dependencies:

References

Summary

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