How to uninstall 2.0

Hello, I like to fresh reinstall the 2.0, how to uninstall/delete the existing setup.


When you download InfluxDB, you get two programs; the database itself, influxd, and the CLI, influx, a well as a license file and a README.

InfluxDB 2.0 stores all of its data in ~/.influxdbv2; you can delete this directory to remove your data and configuration and start over.

If you want to completely uninstall the database and remove all of its data, you can delete the four files that came in the download as well as your ~/.influxdbv2 directory.

Hello Noah,

I’ve ran into an issue and am also wanting to start all over again from scratch. I’ve done rm -r ~/.influxdbv2 and removed all the files that came in the download, but mysteriously, I am still able to run influxd.

Run the following:
rm -rf /usr/local/bin/influx
rm -rf /usr/local/bin/influxd

These are the binaries that you computer run.

these commands was helpful for me on ubuntu 20.4:
sudo service influxdb stop
sudo apt remove influxdb
sudo apt remove influxdb-client
sudo apt remove influxdb2
sudo apt autoclean && sudo apt autoremove

sudo rm -rf /var/lib/influxdb/
sudo rm -rf /var/log/influxdb/
sudo rm -rf /etc/influxdb/
sudo rm -rf ~/.influxdbv2/configs


How can we use it in centos8?

sudo apt autoclean && sudo apt autoremove