How To Install libstring-print-perl on Kali Linux

In this tutorial we learn how to install libstring-print-perl on Kali Linux. libstring-print-perl is module providing (s)printf alternatives

Introduction

In this tutorial we learn how to install libstring-print-perl on Kali Linux.

What is libstring-print-perl

libstring-print-perl is:

String::Print inserts values into (translated) strings. It provides printf() and sprintf() alternatives via both an object oriented and a functional interface.

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

sudo apt-get -y install libstring-print-perl

Install libstring-print-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libstring-print-perl

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

sudo aptitude -y install libstring-print-perl

How To Uninstall libstring-print-perl on Kali Linux

To uninstall only the libstring-print-perl package we can use the following command:

sudo apt-get remove libstring-print-perl

Uninstall libstring-print-perl And Its Dependencies

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

sudo apt-get -y autoremove libstring-print-perl

Remove libstring-print-perl Configurations and Data

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

sudo apt-get -y purge libstring-print-perl

Remove libstring-print-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libstring-print-perl

Dependencies

libstring-print-perl have the following dependencies:

References

Summary

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