nf-ct-events command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
nf-ct-events: command not found
or when using sudo you get the following error message
sudo: nf-ct-events: command not found
Solutions to nf-ct-events: command not found
How To Fix nf-ct-events: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu nf-ct-events is provided by libnl-utils package.
libnl-utils is:
This is a library for applications dealing with netlink sockets. The library provides an interface for raw netlink messaging and various netlink family specific interfaces.
These utilities help dealing with netlink sockets.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libnl-utils
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libnl-utils.
sudo apt -y install libnl-utils
Or if you have aptitude installed you can use the following command.
sudo aptitude install libnl-utils
Summary
In this tutorial we learn how to fix nf-ct-events command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.