Install libghc-network-info-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-network-info-dev
Description:
listing network interfaces in Haskell
This library provides simple read-only access to the local computer's networking configuration. It is currently capable of getting a list of all the network interfaces and their respective IPv4, IPv6 and MAC addresses. . It has been tested and is known to work on Linux, Mac OS X, and Windows XP. . This package contains the library compiled for GHC.
Homepage: http://github.com/jystic/network-info
Version: 0.2.0.9-1
Section: universe/haskell