How To Install libiptables-parse-perl on Kali Linux
Introduction
In this tutorial we learn how to install libiptables-parse-perl
on Kali Linux.
What is libiptables-parse-perl
libiptables-parse-perl is:
The IPTables::Parse package provides an interface to parse iptables rules on Linux systems through the direct execution of iptables commands, or from parsing a file that contains an iptables policy listing. You can get the current policy applied to a table/chain, look for a specific user-defined chain, check for a default DROP policy, or determining whether or not logging rules exist.
There are three methods to install libiptables-parse-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 libiptables-parse-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 libiptables-parse-perl
using apt-get
by running the following command:
sudo apt-get -y install libiptables-parse-perl
Install libiptables-parse-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install libiptables-parse-perl
using apt
by running the following command:
sudo apt -y install libiptables-parse-perl
Install libiptables-parse-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 libiptables-parse-perl
using aptitude
by running the following command:
sudo aptitude -y install libiptables-parse-perl
How To Uninstall libiptables-parse-perl on Kali Linux
To uninstall only the libiptables-parse-perl
package we can use the following command:
sudo apt-get remove libiptables-parse-perl
Uninstall libiptables-parse-perl And Its Dependencies
To uninstall libiptables-parse-perl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libiptables-parse-perl
Remove libiptables-parse-perl Configurations and Data
To remove libiptables-parse-perl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libiptables-parse-perl
Remove libiptables-parse-perl configuration, data, and all of its dependencies
We can use the following command to remove libiptables-parse-perl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libiptables-parse-perl
Dependencies
libiptables-parse-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libiptables-parse-perl
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.