pmbmpd command not found

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

Introduction

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

pmbmpd: command not found

or when using sudo you get the following error message

sudo: pmbmpd: command not found

Solutions to pmbmpd: command not found

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

In Ubuntu pmbmpd is provided by pmacct package.

pmacct is:

pmacct is a tool designed to gather traffic information (bytes and number of packets) by listening on a promiscuous interface or for Netflow data, which may facilitate billing, bandwidth management, traffic analysis, or creating usage graphs.

Data can be stored in memory and queried, displayed directly, or written to a database; storage methods are quite flexible and may aggregate totals or keep them separate.

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

sudo apt-get -y install pmacct

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

You can also use apt command to install pmacct.

sudo apt -y install pmacct

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

sudo aptitude install pmacct

Summary

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