Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to completely uninstall grafana?

In Ubuntu 14.04, I installed grafana like below:

dpkg -i grafana_4.1.2-1486989747_amd64.deb

I am trying to uninstall it.

I tried:

sudo apt-get remove --auto-remove grafana
sudo apt-get purge --auto-remove grafana
sudo apt-get autoclean
sudo apt-get autoremove
locate grafana and manually remove files and folder

But still while reinstall it old templates is there.

While reinstall:

dpkg -i grafana_4.1.2-1486989747_amd64.deb 
Selecting previously unselected package grafana.
(Reading database ... 68772 files and directories currently installed.)
 .................
 ......................
like image 633
rajagopalx Avatar asked Mar 20 '17 13:03

rajagopalx


1 Answers

Uninstall just grafana:

sudo apt-get remove grafana

Uninstall grafana and its dependencies:

sudo apt-get remove --auto-remove grafana

For More details refer: http://installion.co.uk/ubuntu/xenial/universe/g/grafana/uninstall/index.html

like image 78
Anand Prakash Avatar answered Sep 21 '22 19:09

Anand Prakash