ex)
# apt install libpcap-dev
Latest Stable Version : 1.1.2.1 [ Download ]
# wget http://packetfactory.openwall.net/libnet/dist/libnet.tar.gz
tar -xvf file.
# tar -zxvf libnet.tar.gz
Create a Directory.
# mkdir /usr/include/libnet
Move the file into the directory.
# cd libnet/include/libnet # mv libnet-macros.h libnet-headers.h /usr/include/libnet