How To Install libsub-quote-perl on Kali Linux

In this tutorial we learn how to install libsub-quote-perl on Kali Linux. libsub-quote-perl is helper modules for subroutines

Introduction

In this tutorial we learn how to install libsub-quote-perl on Kali Linux.

What is libsub-quote-perl

libsub-quote-perl is:

This package includes two modules:

Sub::Quote provides performant ways to generate subroutines from strings.

Sub::Defer contains subroutines which provide the user with a convenient way to defer creation of subroutines and methods until they are first called.

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

sudo apt-get -y install libsub-quote-perl

Install libsub-quote-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libsub-quote-perl

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

sudo aptitude -y install libsub-quote-perl

How To Uninstall libsub-quote-perl on Kali Linux

To uninstall only the libsub-quote-perl package we can use the following command:

sudo apt-get remove libsub-quote-perl

Uninstall libsub-quote-perl And Its Dependencies

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

sudo apt-get -y autoremove libsub-quote-perl

Remove libsub-quote-perl Configurations and Data

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

sudo apt-get -y purge libsub-quote-perl

Remove libsub-quote-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libsub-quote-perl

Dependencies

libsub-quote-perl have the following dependencies:

References

Summary

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