graphite-build-search-index command not found

In this troubleshooting guide we learn how to fix graphite-build-search-index command not found error message

Introduction

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

graphite-build-search-index: command not found

or when using sudo you get the following error message

sudo: graphite-build-search-index: command not found

Solutions to graphite-build-search-index: command not found

How To Fix graphite-build-search-index: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu graphite-build-search-index is provided by graphite-web package.

graphite-web is:

Graphite consists of a storage backend and a web-based visualization frontend. Client applications send streams of numeric time-series data to the Graphite backend (called carbon), where it gets stored in fixed-size database files similar in design to RRD. The web frontend provides 2 distinct user interfaces for visualizing this data in graphs as well as a simple URL-based API for direct graph generation.

Graphite’s design is focused on providing simple interfaces (both to users and applications), real-time visualization, high-availability, and enterprise scalability.

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

sudo apt-get -y install graphite-web

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

You can also use apt command to install graphite-web.

sudo apt -y install graphite-web

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

sudo aptitude install graphite-web

Summary

In this tutorial we learn how to fix graphite-build-search-index command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.