How To Install libio-stringy-perl on Kali Linux

In this tutorial we learn how to install libio-stringy-perl on Kali Linux. libio-stringy-perl is modules for I/O on in-core objects (strings/arrays)

Introduction

In this tutorial we learn how to install libio-stringy-perl on Kali Linux.

What is libio-stringy-perl

libio-stringy-perl is:

IO::stringy primarily provides modules for performing both traditional and object-oriented I/O on things other than normal filehandles; in particular, IO::Scalar, IO::ScalarArray, and IO::Lines.

The libio-stringy-perl package provides the following modules:

  • IO::AtomicFile - write a file which is updated atomically
  • IO::InnerFile - define a file inside another file
  • IO::Lines - IO:: interface for reading/writing an array of lines
  • IO::Scalar - IO:: interface for reading/writing a scalar
  • IO::ScalarArray - IO:: interface for reading/writing an array of scalars
  • IO::Stringy - I/O on in-core objects like strings and arrays
  • IO::Wrap - wrap raw filehandles in IO::Handle interface
  • IO::WrapTie - wrap tieable objects in IO::Handle interface

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

sudo apt-get -y install libio-stringy-perl

Install libio-stringy-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libio-stringy-perl

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

sudo aptitude -y install libio-stringy-perl

How To Uninstall libio-stringy-perl on Kali Linux

To uninstall only the libio-stringy-perl package we can use the following command:

sudo apt-get remove libio-stringy-perl

Uninstall libio-stringy-perl And Its Dependencies

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

sudo apt-get -y autoremove libio-stringy-perl

Remove libio-stringy-perl Configurations and Data

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

sudo apt-get -y purge libio-stringy-perl

Remove libio-stringy-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libio-stringy-perl

Dependencies

libio-stringy-perl have the following dependencies:

References

Summary

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