nfpcapd command not found

In this troubleshooting guide we learn how to fix nfpcapd command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

nfpcapd: command not found

or when using sudo you get the following error message

sudo: nfpcapd: command not found

Solutions to nfpcapd: command not found

How To Fix nfpcapd: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu nfpcapd is provided by nfdump package.

nfdump is:

Collects and processes netflow data with command line tools. Collected netflow data is stored in filesystem and is limited by available storage space only. Tools are optimized for speed and filtering. nfcapd reads netflow v5, v7, v9 and IPFIX flows transparently. You need one nfcapd process for each netflow stream.

To fix this problem, we can install more using the command below.

sudo apt-get -y install nfdump

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install nfdump.

sudo apt -y install nfdump

Or if you have aptitude installed you can use the following command.

sudo aptitude install nfdump

Summary

In this tutorial we learn how to fix nfpcapd command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.