Let’s start with installing libpcap (for Mac/Linux/UNIX) or WinPcap (for Windows) on your computer. They are native libraries that powers the core functionalities of Pcap4J.
-
Ubuntu
apt-get install libpcap-dev
-
CentOs
yum install libpcap-devel
Mac
brew install libpcap
Windows
choco install winpcap