Install libnet-ip-minimal-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-ip-minimal-perl
Description:
module to check if an IP address is version 4 or 6
Net::IP::Minimal provides only three of the many functions that Net::IP offers, while using a lot less memory: ip_get_version(), ip_is_ipv4() and ip_is_ipv6().
Homepage: http://search.cpan.org/dist/Net-IP-Minimal/
Version: 0.06-1
Section: universe/perl