Install libpcap-dev by entering the following commands in the terminal:
sudo apt update sudo apt install libpcap-dev
Description:
development library for libpcap (transitional package)
Empty package to facilitate upgrades, can be safely removed.
Homepage: http://www.tcpdump.org/
Version: 1.8.1-6ubuntu1
Section: libdevel