How To Install libtext-findindent-perl on Kali Linux
Introduction
In this tutorial we learn how to install libtext-findindent-perl on Kali Linux.
What is libtext-findindent-perl
libtext-findindent-perl is:
Text::FindIndent is a Perl module that attempts to detect the underlying indentation “policy” for a text file (most likely a source code file). You give it a chunk of text, and it tells you if tabs, spaces or combination of both are used for indentation.
It honours Vim midelines and Emacs Local Variables settings.
There are three methods to install libtext-findindent-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-findindent-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-findindent-perl using apt-get by running the following command:
sudo apt-get -y install libtext-findindent-perlInstall libtext-findindent-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libtext-findindent-perl using apt by running the following command:
sudo apt -y install libtext-findindent-perlInstall libtext-findindent-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-findindent-perl using aptitude by running the following command:
sudo aptitude -y install libtext-findindent-perlHow To Uninstall libtext-findindent-perl on Kali Linux
To uninstall only the libtext-findindent-perl package we can use the following command:
sudo apt-get remove libtext-findindent-perlUninstall libtext-findindent-perl And Its Dependencies
To uninstall libtext-findindent-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libtext-findindent-perlRemove libtext-findindent-perl Configurations and Data
To remove libtext-findindent-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libtext-findindent-perlRemove libtext-findindent-perl configuration, data, and all of its dependencies
We can use the following command to remove libtext-findindent-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libtext-findindent-perlDependencies
libtext-findindent-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libtext-findindent-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.