How To Install libmessage-passing-filter-regexp-perl on Kali Linux
Introduction
In this tutorial we learn how to install libmessage-passing-filter-regexp-perl on Kali Linux.
What is libmessage-passing-filter-regexp-perl
libmessage-passing-filter-regexp-perl is:
Message::Passing::Filter::Regexp is a Message::Passing filter which passes all incoming messages through regexp captures.
Note it must be applied after Message::Passing::Filter::ToLogstash because it won’t process JSON data but directly captures “$message-”{’@message’}> data lines into “%{ $message-”{’@fields’} }>.
There are three methods to install libmessage-passing-filter-regexp-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 libmessage-passing-filter-regexp-perl Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install libmessage-passing-filter-regexp-perl using apt-get by running the following command:
sudo apt-get -y install libmessage-passing-filter-regexp-perlInstall libmessage-passing-filter-regexp-perl Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install libmessage-passing-filter-regexp-perl using apt by running the following command:
sudo apt -y install libmessage-passing-filter-regexp-perlInstall libmessage-passing-filter-regexp-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 libmessage-passing-filter-regexp-perl using aptitude by running the following command:
sudo aptitude -y install libmessage-passing-filter-regexp-perlHow To Uninstall libmessage-passing-filter-regexp-perl on Kali Linux
To uninstall only the libmessage-passing-filter-regexp-perl package we can use the following command:
sudo apt-get remove libmessage-passing-filter-regexp-perlUninstall libmessage-passing-filter-regexp-perl And Its Dependencies
To uninstall libmessage-passing-filter-regexp-perl and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove libmessage-passing-filter-regexp-perlRemove libmessage-passing-filter-regexp-perl Configurations and Data
To remove libmessage-passing-filter-regexp-perl configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge libmessage-passing-filter-regexp-perlRemove libmessage-passing-filter-regexp-perl configuration, data, and all of its dependencies
We can use the following command to remove libmessage-passing-filter-regexp-perl configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge libmessage-passing-filter-regexp-perlDependencies
libmessage-passing-filter-regexp-perl have the following dependencies:
References
Summary
In this tutorial we learn how to install libmessage-passing-filter-regexp-perl package on Kali Linux using different package management tools: apt, apt-get and aptitude.