How To Install libhtml-restrict-perl on Kali Linux
Introduction
In this tutorial we learn how to install libhtml-restrict-perl
on Kali Linux.
What is libhtml-restrict-perl
libhtml-restrict-perl is:
HTML::Restrict uses HTML::Parser to strip HTML from text in a restrictive manner. By default all HTML is restricted. You may alter the default behaviour by supplying your own tag rules.
There are three methods to install libhtml-restrict-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 libhtml-restrict-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 libhtml-restrict-perl
using apt-get
by running the following command:
sudo apt-get -y install libhtml-restrict-perl
Install libhtml-restrict-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libhtml-restrict-perl
using apt
by running the following command:
sudo apt -y install libhtml-restrict-perl
Install libhtml-restrict-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 libhtml-restrict-perl
using aptitude
by running the following command:
sudo aptitude -y install libhtml-restrict-perl
How To Uninstall libhtml-restrict-perl on Kali Linux
To uninstall only the libhtml-restrict-perl
package we can use the following command:
sudo apt-get remove libhtml-restrict-perl
Uninstall libhtml-restrict-perl And Its Dependencies
To uninstall libhtml-restrict-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libhtml-restrict-perl
Remove libhtml-restrict-perl Configurations and Data
To remove libhtml-restrict-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libhtml-restrict-perl
Remove libhtml-restrict-perl configuration, data, and all of its dependencies
We can use the following command to remove libhtml-restrict-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libhtml-restrict-perl
Dependencies
libhtml-restrict-perl have the following dependencies:
- perl
- libdata-dump-perl
- libhtml-parser-perl
- libmoo-perl
- libnamespace-clean-perl
- libscalar-list-utils-perl
- libsub-quote-perl
- libtype-tiny-perl
- liburi-perl
References
Summary
In this tutorial we learn how to install libhtml-restrict-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.