How To Install libregexp-common-net-cidr-perl on Debian 9

In this tutorial we learn how to install libregexp-common-net-cidr-perl on Debian 9. libregexp-common-net-cidr-perl is provide patterns for CIDR blocks

Introduction

In this tutorial we learn how to install libregexp-common-net-cidr-perl on Debian 9.

What is libregexp-common-net-cidr-perl

libregexp-common-net-cidr-perl is:

This module provides regexp patterns for CIDR netblocks.

There are three methods to install libregexp-common-net-cidr-perl on Debian 9. 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-common-net-cidr-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-common-net-cidr-perl using apt-get by running the following command:

sudo apt-get -y install libregexp-common-net-cidr-perl

Install libregexp-common-net-cidr-perl Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install libregexp-common-net-cidr-perl

Install libregexp-common-net-cidr-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-common-net-cidr-perl using aptitude by running the following command:

sudo aptitude -y install libregexp-common-net-cidr-perl

How To Uninstall libregexp-common-net-cidr-perl on Debian 9

To uninstall only the libregexp-common-net-cidr-perl package we can use the following command:

sudo apt-get remove libregexp-common-net-cidr-perl

Uninstall libregexp-common-net-cidr-perl And Its Dependencies

To uninstall libregexp-common-net-cidr-perl and its dependencies that are no longer needed by Debian 9, we can use the command below:

sudo apt-get -y autoremove libregexp-common-net-cidr-perl

Remove libregexp-common-net-cidr-perl Configurations and Data

To remove libregexp-common-net-cidr-perl configuration and data from Debian 9 we can use the following command:

sudo apt-get -y purge libregexp-common-net-cidr-perl

Remove libregexp-common-net-cidr-perl configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge libregexp-common-net-cidr-perl

Dependencies

libregexp-common-net-cidr-perl have the following dependencies:

References

Summary

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