How To Install libtext-format-perl on Kali Linux
Introduction
In this tutorial we learn how to install libtext-format-perl on Kali Linux.
What is libtext-format-perl
libtext-format-perl is:
Text::Format is a Perl module that provides various utility functions for formatting plain text. This module is similar to, but more powerful than, the Text::Wrap module (in Perl core). It can format arbitrary lines into paragraphs, center text, handle indentation and left/right margins, and convert between tabs and spaces.
There are three methods to install libtext-format-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 libtext-format-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libtext-format-perl using apt-get by running the following command:
sudo apt-get -y install libtext-format-perlInstall libtext-format-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libtext-format-perl using apt by running the following command:
sudo apt -y install libtext-format-perlInstall libtext-format-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 updateAfter updating apt database, We can install libtext-format-perl using aptitude by running the following command:
sudo aptitude -y install libtext-format-perlHow To Uninstall libtext-format-perl on Kali Linux
To uninstall only the libtext-format-perl package we can use the following command:
sudo apt-get remove libtext-format-perlUninstall libtext-format-perl And Its Dependencies
To uninstall libtext-format-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libtext-format-perlRemove libtext-format-perl Configurations and Data
To remove libtext-format-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libtext-format-perlRemove libtext-format-perl configuration, data, and all of its dependencies
We can use the following command to remove libtext-format-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtext-format-perlDependencies
libtext-format-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtext-format-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.