-
Notifications
You must be signed in to change notification settings - Fork 32
Home
Starting from v5.2.0-beta1 Grafana introduced official support for armv7 and arm64 linux platforms. Many thanks to them for that.
As a consequence, this repo is no more needed and stops support starting from v5.2.0-beta1.
If you are using unofficial builds from this repo, you are invited to upgrade to official builds.
Should you need armv6 build, you are invited to ask official support.
This repo intends to provide Grafana deb packages for Raspberry Pi and arm64. These packages are unofficial builds, made with as few modifications as possible from the original Grafana repo. In fact, last builds are made with no modification at all.
The last supported version is v5.1.4. From v5.2.0, you should use official release for arm/arm64.
For raspberry pi 2 and 3 (wheezy, jessie and stretch distro), you can use
- last release v5.1.4 release
- last stable v4 release
- last stable v3 release.
For raspberry pi 1 (wheezy, jessie, stretch distro), you will have to use the bintray repo.
For arm64 (jessie, stretch), you can use
- last release v5.1.4 release
Beside install that requires rather straightforward changes, there is nothing specific about these builds. So see the official doc.
(only for raspberry pi 2/pi 3 and arm64)
sudo apt-get install adduser libfontconfig
curl -LO https://github.com/fg2it/grafana-on-raspberry/releases/download/v5.0.3/grafana_5.0.3_armhf.deb
sudo dpkg -i grafana_5.0.3_armhf.deb
(For arm64, change armhf by arm64)
You can also download .deb
package from the Bintray repo :
- For pi 1 : https://dl.bintray.com/fg2it/deb-rpi-1b
- For pi 2 and pi 3 : https://dl.bintray.com/fg2it/deb
- For arm64 : https://dl.bintray.com/fg2it/deb-arm64
(look in main/
, testing/
or experimental
).
Once you selected the package, you can proceed as for Github release, eg:
sudo apt-get install adduser libfontconfig
curl -L https://bintray.com/fg2it/deb-rpi-1b/download_file?file_path=main%2Fg%2Fgrafana_5.0.3_armhf.deb -o /tmp/grafana_5.0.3_armhf.deb
sudo dpkg -i /tmp/grafana_5.0.3_armhf.deb
sudo apt-get install apt-transport-https curl
curl https://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
(To do only once)
use
echo "deb https://dl.bintray.com/fg2it/deb-rpi-1b jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
(this repo works also for pi 2 and pi 3, but the binary could be slower than the next one)
use
echo "deb https://dl.bintray.com/fg2it/deb jessie main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
For all rasberry pi
- change
jessie
forwheezy
orstretch
depending on your debian version- change
main
fortesting
if you want to install beta release.
use
echo "deb https://bintray.com/fg2it/deb-arm64/grafana-on-raspberry/ stretch main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
you can also use
jessie
instead ofstretch
. Prior to v5.1.0, arm64 packages were only available in "experimental". From v5.1.0, packages are inmain
ortesting
(for beta).
sudo apt-get update
sudo apt-get install grafana
you can check available versions with
sudo apt-cache madison grafana
As a side product, this repo also hosts files I used to create Armhf Docker images fg2it/grafana-armhf:<version>
which are available on dockerhub.
A convenient way to get the available <version>
from command line is:
curl -sS https://registry.hub.docker.com/v2/repositories/fg2it/grafana-armhf/tags/ | python -m json.tool | grep name
See the Readme. It is based on the official doc with straightforward changes.
I try to provide extensive notes on how I built the packages. You can find them in the repo.
- For the last stable version, have a look at ci directory.
- For the last stable v4 version, have a look at ci directory.
- For the last stable v3 version, have a look at Readme.txt for the debian package.
- For the docker images, this is less user friendly : see the Dockerfile and related scripts in the corresponding folder.