How To Install libregexp-assemble-perl on Debian 10

Learn how to install libregexp-assemble-perl on Debian 10 with this tutorial. libregexp-assemble-perl is Perl module to merge several regular expressions

Introduction

In this tutorial we learn how to install libregexp-assemble-perl on Debian 10.

What is libregexp-assemble-perl

libregexp-assemble-perl is:

Regexp::Assemble takes an arbitrary number of regular expressions and assembles them into a single regular expression (or RE) that matches all that the individual REs match.

It is also possible to track the original patterns, so that you can determine which, among the source patterns that form the assembled pattern, was the one that caused the match to occur.

There are three methods to install libregexp-assemble-perl on Debian 10. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install libregexp-assemble-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 libregexp-assemble-perl using apt-get by running the following command:

sudo apt-get -y install libregexp-assemble-perl

Install libregexp-assemble-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libregexp-assemble-perl

Install libregexp-assemble-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 Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install libregexp-assemble-perl using aptitude by running the following command:

sudo aptitude -y install libregexp-assemble-perl

How To Uninstall libregexp-assemble-perl on Debian 10

To uninstall only the libregexp-assemble-perl package we can use the following command:

sudo apt-get remove libregexp-assemble-perl

Uninstall libregexp-assemble-perl And Its Dependencies

To uninstall libregexp-assemble-perl and its dependencies that are no longer needed by Debian 10, we can use the command below:

sudo apt-get -y autoremove libregexp-assemble-perl

Remove libregexp-assemble-perl Configurations and Data

To remove libregexp-assemble-perl configuration and data from Debian 10 we can use the following command:

sudo apt-get -y purge libregexp-assemble-perl

Remove libregexp-assemble-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libregexp-assemble-perl

Dependencies

libregexp-assemble-perl have the following dependencies:

References

Summary

In this tutorial we learn how to install libregexp-assemble-perl package on Debian 10 using different package management tools: apt, apt-get and aptitude.