Install libnet-address-ip-local-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-address-ip-local-perl
Description:
Perl module for discovering the local system's IP address
Net::Address::IP::Local discovers the local system's IP address that would be used as the source address when contacting "the internet" or a certain specified remote IP address.
Homepage: https://metacpan.org/release/Net-Address-IP-Local
Version: 0.1.2-3
Section: universe/perl