cricket-compile command not found

In this troubleshooting guide we learn how to fix cricket-compile command not found error message

Introduction

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

cricket-compile: command not found

or when using sudo you get the following error message

sudo: cricket-compile: command not found

Solutions to cricket-compile: command not found

How To Fix cricket-compile: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu cricket-compile is provided by cricket package.

cricket is:

This is Cricket. It is a configuration, polling, and data-display engine wrapped around the RRD tool by Tobias Oetiker. There are three user-visible pieces to Cricket: the collector, the grapher, and the config tree. The collector runs from cron and fetches data from a number of devices according to the info it finds in the config tree. The grapher is a CGI application that allows users to traverse the config tree from a web browser and see the data that the collector recorded.

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

sudo apt-get -y install cricket

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

You can also use apt command to install cricket.

sudo apt -y install cricket

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

sudo aptitude install cricket

Summary

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