No CLI after installing InfluxDB on Raspberry PI

I am having issues installing InfluxDB on Raspberry PI running Rasbian Lite. I followed the instructions for a Debian installation. There are no errors during the installation and the service starts without a problem. However the CLI does not appear to be available. The command influx returns a “command not found” error. It is also not found in /usr/bin (though influxd is).

I tried the installation twice yesterday (even reinstalled the OS) and had the same problem both times. However, I thought I would try again this morning. After looking at the Debian installation instructions for 1.3, I noticed the following line that was not present in the 1.4 instructions

test $VERSION_ID = “9” && echo “deb stretch stable” | sudo tee /etc/apt/sources.list.d/influxdb.list

After including this line, the “influx” command now works.

1 Like

I have a Raspberry Pi running Debian stretch. The proposed solution does not work for me. I have tried versions 1.0.2 and 1.7.7. Many of the web sites with the instructions are clearly out of date. I can launch influxdb service but I get “command not found” for either of the following:


My understanding is that I must run the CLI via ‘influx’ in order to create a database, so I cannot proceed without the CLI.