influxd command not found

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

Introduction

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

influxd: command not found

or when using sudo you get the following error message

sudo: influxd: command not found

Solutions to influxd: command not found

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

In Ubuntu influxd is provided by influxdb package.

influxdb is:

InfluxDB is a time series, metrics, and analytics database. It’s written in Go and has no external dependencies. That means once you install it there’s nothing else to manage (such as Redis, ZooKeeper, Cassandra, HBase, or anything else). InfluxDB is targeted at use cases for DevOps, metrics, sensor data, and real-time analytics.

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

sudo apt-get -y install influxdb

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

You can also use apt command to install influxdb.

sudo apt -y install influxdb

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

sudo aptitude install influxdb

Summary

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