How To Install libtemplate-autofilter-perl on Kali Linux

In this tutorial we learn how to install libtemplate-autofilter-perl on Kali Linux. libtemplate-autofilter-perl is Template

Introduction

In this tutorial we learn how to install libtemplate-autofilter-perl on Kali Linux.

What is libtemplate-autofilter-perl

libtemplate-autofilter-perl is:

Template::AutoFilter is a subclass of Template::Toolkit which loads a specific Parser that is subclassed from Template::Parser. It adds a filter instruction to each interpolation token found in templates loaded by the TT engine. Tokens that already have a filter instruction are left unchanged.

By default this automatic filter is set to be ‘html’, but can be modified during object creation by passing the AUTO_FILTER option with the name of the wanted filter.

Additionally a pass-through filter called ’none’ is added to the object to allow exclusion of tokens from being filtered.

Lastly, if you have problems with the directives which get auto filters applied, you can see the Template::AutoFilter::Parser docs for how you can customize that.

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

sudo apt-get -y install libtemplate-autofilter-perl

Install libtemplate-autofilter-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libtemplate-autofilter-perl

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

sudo aptitude -y install libtemplate-autofilter-perl

How To Uninstall libtemplate-autofilter-perl on Kali Linux

To uninstall only the libtemplate-autofilter-perl package we can use the following command:

sudo apt-get remove libtemplate-autofilter-perl

Uninstall libtemplate-autofilter-perl And Its Dependencies

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

sudo apt-get -y autoremove libtemplate-autofilter-perl

Remove libtemplate-autofilter-perl Configurations and Data

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

sudo apt-get -y purge libtemplate-autofilter-perl

Remove libtemplate-autofilter-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libtemplate-autofilter-perl

Dependencies

libtemplate-autofilter-perl have the following dependencies:

References

Summary

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