Skip to content

Instantly share code, notes, and snippets.

@fragolinux
Last active April 22, 2019 21:33
Show Gist options
  • Save fragolinux/c9b0025f831d1c9edcdf049d920d34ad to your computer and use it in GitHub Desktop.
Save fragolinux/c9b0025f831d1c9edcdf049d920d34ad to your computer and use it in GitHub Desktop.
# to remove old version:
sudo dpkg -r grafana grafana-data
sudo apt-get -y autoremove
sudo rm -rf /etc/grafana /var/lib/grafana /var/log/grafana /etc/rc5.d/S02grafana /etc/rc6.d/K01grafana /etc/rc3.d/S02grafana /etc/rc2.d/S02grafana /etc/rc4.d/S02grafana /etc/rc1.d/K01grafana /etc/default/grafana /etc/init.d/grafana /etc/rc0.d/K01grafana /usr/lib/systemd/system/grafana-server.service /etc/systemd/system/grafana-server.service /etc/systemd/system/grafana.service /etc/systemd/system/multi-user.target.wants/grafana.service /etc/apt/sources.list.d/grafana.list /etc/default/grafana-server /etc/init.d/grafana-server /var/lib/systemd/deb-systemd-helper-enabled/grafana-server.service /var/lib/systemd/deb-systemd-helper-enabled/grafana.service.dsh-also /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/grafana.service /var/lib/systemd/deb-systemd-helper-masked/grafana.service /home/pi/grafana_2.6.0+dfsg-3_armhf.deb /home/pi/grafana-data_2.6.0+dfsg-3_all.deb
# to install latest:
curl https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb https://dl.bintray.com/fg2it/deb jessie main" | sudo tee /etc/apt/sources.list.d/grafana.list
sudo apt-get -y update
sudo apt-get -y install grafana
@SeppPenner
Copy link

This is now even more easy (At least for the beta version, stable one will be available soon I guess): https://grafana.com/grafana/download/5.3.0-beta1?platform=arm

wget https://s3-us-west-2.amazonaws.com/grafana-releases/release/grafana_5.3.0-beta1_armhf.deb
sudo dpkg -i grafana_5.3.0-beta1_armhf.deb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment