Install libnftnl7 by entering the following commands in the terminal:
sudo apt update sudo apt install libnftnl7
Netfilter nftables userspace API library
libnftnl is the low-level library for Netfilter 4th generation framework nftables. . Is the user-space library for low-level interaction with nftables Netlink's API over libmnl.