Problems with installing Grafana on Ubuntu 16.04

Hi, I’m having problems with installing Grafana on my Ubuntu 16.04 server.
The server already had an instance of Grafana when I started to work with it, however it was an old version with already existing dashboard, and I need to start everything from scratch. So, I ran sudo apt-get purge --auto-remove grafana to delete Grafana from the server. Then I ran sudo apt-get install grafana. However, when I opened Grafana in the browser I saw that I still have the same old version as before, and all previous configurations were present. How can I install fresh new version of Grafana without previous dashboards, datasources and configurations?