Download, configure, compile and install Suricata for your particular setup.
See Installation. Depending on your environment, you may need to add the
–with-libpcap_ng-libraries and –with-libpcap_ng-includes options
during the configure step. e.g: