How To Install libperl6-slurp-perl on Kali Linux

In this tutorial we learn how to install libperl6-slurp-perl on Kali Linux. libperl6-slurp-perl is module implementing the Perl 6 slurp built-in

Introduction

In this tutorial we learn how to install libperl6-slurp-perl on Kali Linux.

What is libperl6-slurp-perl

libperl6-slurp-perl is:

Perl6::Slurp allows you to “slurp” in contents from a file or a file handle into a scalar or an array. This used to be done by modifying the $/ built-in, but Perl6::Slurp provides the ease of use of the Perl 6’s slurp() function.

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

sudo apt-get -y install libperl6-slurp-perl

Install libperl6-slurp-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libperl6-slurp-perl

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

sudo aptitude -y install libperl6-slurp-perl

How To Uninstall libperl6-slurp-perl on Kali Linux

To uninstall only the libperl6-slurp-perl package we can use the following command:

sudo apt-get remove libperl6-slurp-perl

Uninstall libperl6-slurp-perl And Its Dependencies

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

sudo apt-get -y autoremove libperl6-slurp-perl

Remove libperl6-slurp-perl Configurations and Data

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

sudo apt-get -y purge libperl6-slurp-perl

Remove libperl6-slurp-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libperl6-slurp-perl

Dependencies

libperl6-slurp-perl have the following dependencies:

References

Summary

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