apt update
apt -y install g++ libjemalloc-dev libpcap-dev python libpcre2-8-0 autoconf zlib1g-dev flex byacc
apt -y install cmake libtool libtool-bin subversion rpm libreadline-dev libnuma-dev libnl-genl-3-dev
wget https://files.therouter.net/download/npf_build.sh
chmod +x ./npf_build.sh
./npf_build.sh
Add the following lines to the /etc/ld.so.conf.d/router.conf
/usr/lib64
/usr/local/lib
/usr/lib/x86_64-linux-gnu
Run
ldconfig