tce-load -i compiletc python3.6 libnftnl-dev gmp-dev readline-dev iptables-dev jansson-dev https://www.netfilter.org/projects/nftables/files/nftables-0.9.4.tar.bz2 cd nftables-0.9.4 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var --disable-static --disable-man-doc --with-python-bin=/usr/local/bin/python3 --with-xtables --with-json find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 23.21s] sudo make install nft configuration: cli support: readline enable debugging symbols: yes use mini-gmp: no enable man page: no libxtables support: yes json output support: yes enable Python: yes (with /usr/local/bin/python3)