rrdcgi command not found

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

Introduction

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

rrdcgi: command not found

or when using sudo you get the following error message

sudo: rrdcgi: command not found

Solutions to rrdcgi: command not found

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

In Ubuntu rrdcgi is provided by rrdtool package.

rrdtool is:

The Round Robin Database Tool (RRDtool) is a system to store and display time-series data (e.g. network bandwidth, machine-room temperature, server load average). It stores the data in Round Robin Databases (RRDs), a very compact way that will not expand over time. RRDtool processes the extracted data to enforce a certain data density, allowing for useful graphical representation of data values.

RRDtool is often used via various wrappers that can poll data from devices and feed data into RRDs, as well as provide a friendlier user interface and customized graphs.

This package contains command-line programs used to access and manipulate RRDs.

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

sudo apt-get -y install rrdtool

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

You can also use apt command to install rrdtool.

sudo apt -y install rrdtool

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

sudo aptitude install rrdtool

Summary

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