Install Grafana on SUSE or openSUSE
This topic explains how to install Grafana dependencies, install Grafana on SUSE or openSUSE and start the Grafana server on your system.
You can install Grafana using the RPM repository, or by downloading a binary .tar.gz
file.
If you install via RPM or the .tar.gz
file, then you must manually update Grafana for each new version.
The following video demonstrates how to install Grafana on SUSE or openSUSE as outlined in this document:
Install Grafana from the RPM repository
If you install from the RPM repository, then Grafana is automatically updated every time you run sudo zypper update
.
Grafana Version | Package | Repository |
---|---|---|
Grafana Enterprise |
grafana-enterprise |
|
Grafana OSS |
grafana |
|
NOTE: Grafana Enterprise is the recommended and default edition. It is available for free and includes all the features of the OSS edition. You can also upgrade to the full Enterprise feature set, which has support for Enterprise plugins.
To install Grafana using the RPM repository, complete the following steps:
-
Import the GPG key:
wget -q -O gpg.key https://rpm.grafana.com/gpg.key sudo rpm --import gpg.key
-
Use zypper to add the grafana repo.
sudo zypper addrepo https://rpm.grafana.com grafana
-
To install Grafana OSS, run the following command:
sudo zypper install grafana
-
To install Grafana Enterprise, run the following command:
sudo zypper install grafana-enterprise
Install the Grafana RPM package manually
If you install Grafana manually using RPM, then you must manually update Grafana for each new version. This method varies according to which Linux OS you are running.
Note: The RPM files are signed. You can verify the signature with this public GPG key.
-
On the Grafana download page, select the Grafana version you want to install.
-
The most recent Grafana version is selected by default.
-
The Version field displays only finished releases. If you want to install a beta version, click Nightly Builds and then select a version.
-
-
Select an Edition.
-
Enterprise - Recommended download. Functionally identical to the open source version, but includes features you can unlock with a license if you so choose.
-
Open Source - Functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want Enterprise features.
-
-
Depending on which system you are running, click Linux or ARM.
-
Copy and paste the RPM package URL and the local RPM package information from the installation page into the pattern shown below, then run the commands.
sudo zypper install initscripts urw-fonts wget wget <rpm package url> sudo rpm -Uvh <local rpm package>
Install Grafana as a standalone binary
Complete the following steps to install Grafana using the standalone binaries:
-
Navigate to the Grafana download page.
-
Select the Grafana version you want to install.
-
The most recent Grafana version is selected by default.
-
The Version field displays only tagged releases. If you want to install a nightly build, click Nightly Builds and then select a version.
-
-
Select an Edition.
-
Enterprise: This is the recommended version. It is functionally identical to the open-source version but includes features you can unlock with a license if you so choose.
-
Open Source: This version is functionally identical to the Enterprise version, but you will need to download the Enterprise version if you want Enterprise features.
-
-
Depending on which system you are running, click the Linux or ARM tab on the download page.
-
Copy and paste the code from the download page into your command line and run.
Uninstall on SUSE or openSUSE
To uninstall Grafana, run the following commands in a terminal window:
-
If you configured Grafana to run with systemd, stop the systemd service for Grafana server:
sudo systemctl stop grafana-server
-
If you configured Grafana to run with init.d, stop the init.d service for Grafana server:
sudo service grafana-server stop
-
To uninstall Grafana OSS:
sudo zypper remove grafana
-
To uninstall Grafana Enterprise:
sudo zypper remove grafana-enterprise
-
Optional: To remove the Grafana repository:
sudo zypper removerepo grafana
Next steps
Refer to Start the Grafana server.