How to Install libnet-netmask-perl in Ubuntu 18.04



Install libnet-netmask-perl by entering the following commands in the terminal:

sudo apt update
sudo apt install libnet-netmask-perl

Description:

parse, manipulate and lookup IP network blocks

Net::Netmask parses and understands IPv4 CIDR blocks. It's built with an object-oriented interface. Nearly all functions are methods that operate on a Net::Netmask object. . There are methods that provide the nearly all bits of information about a network block that you might want. . There are also functions to put a network block into a table and then later lookup network blocks by IP address in that table. There are functions to turn an IP address range into a list of CIDR blocks. There are functions to turn a list of CIDR blocks into a list of IP addresses. . There is a function for sorting by text IP address.

Homepage: https://metacpan.org/release/Net-Netmask

Version: 1.9022-1

Section: universe/perl