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.)
.................
......................
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