How To Install libmessage-passing-filter-regexp-perl on Ubuntu 18.04
Introduction
In this tutorial we learn how to install libmessage-passing-filter-regexp-perl
on Ubuntu 18.04.
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 Ubuntu 18.04. 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 update
After 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-perl
Install libmessage-passing-filter-regexp-perl Using apt
Update apt database with apt
using the following command.
sudo apt update
After 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-perl
Install libmessage-passing-filter-regexp-perl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude
using the following command.
sudo aptitude update
After 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-perl
How To Uninstall libmessage-passing-filter-regexp-perl on Ubuntu 18.04
To uninstall only the libmessage-passing-filter-regexp-perl
package we can use the following command:
sudo apt-get remove libmessage-passing-filter-regexp-perl
Uninstall libmessage-passing-filter-regexp-perl And Its Dependencies
To uninstall libmessage-passing-filter-regexp-perl
and its dependencies that are no longer needed by Ubuntu 18.04, we can use the command below:
sudo apt-get -y autoremove libmessage-passing-filter-regexp-perl
Remove libmessage-passing-filter-regexp-perl Configurations and Data
To remove libmessage-passing-filter-regexp-perl
configuration and data from Ubuntu 18.04 we can use the following command:
sudo apt-get -y purge libmessage-passing-filter-regexp-perl
Remove 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-perl
References
- libmessage-passing-filter-regexp-perl website
- libmessage-passing-filter-regexp-perl on packages.ubuntu.com
Summary
In this tutorial we learn how to install libmessage-passing-filter-regexp-perl
package on Ubuntu 18.04 using different package management tools: apt
, apt-get
and aptitude
.