Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs outdated: grafana/docs/sources/setup-grafana/installation/suse-opensuse/index.md #87933

Open
srperf opened this issue May 15, 2024 · 1 comment
Assignees

Comments

@srperf
Copy link
Contributor

srperf commented May 15, 2024

What happened?

The Grafana installation steps for SUSE seem to be outdated in the RPM section.
https://grafana.com/docs/grafana/latest/setup-grafana/installation/suse-opensuse/

There is a command to gather prerequisites before downloading and executing the RPM file.
sudo zypper install initscripts urw-fonts wget
Apparently neither initscripts nor urw-fonts exist anymore, and it is weird to get wget as most have it already.

However when trying the command to install
sudo rpm -Uvh grafana-enterprise-xx.x.x.rpm
the installation complains for a dependency of the freetype lib

So as prepr command it should be updated to
sudo zypper install freetype wget

Could even remove wget from the above.

What did you expect to happen?

Get an update of the right commands for the latest versions of SUSE using RPM

Did this work before?

Apparently it did.

How do we reproduce it?

1.Follow the steps of the RPM installation in a SUSE linux platform

Is the bug inside a dashboard panel?

No

Environment (with versions)?

Grafana: 11
OS: SUSE
Browser: Chrome

Grafana platform?

None

Datasource(s)?

No response

@clayton-cornell
Copy link
Contributor

clayton-cornell commented May 15, 2024

Quick notes:

  • openSUSE Tumbleweed:

    • initscripts is only required on systems still using sysinitV. openSUSE has been systemd for many years.
    • urw-fonts is not available in the core repos.
    • wget is installed by default, so it does not need to be reinstalled as indicated by the documented steps
    • sudo rpm -Uvh will only install the local RPM without doing any dependency resolution. Users should use sudo zypper install instead.
    • The URL https://grafana.com/grafana/download also documents using sudo rpm -Uvh. Not technically incorrect, but not the preferred method of installing in openSUSE
    • Freetype is NOT available in the core repos. Install freetype:
      zypper addrepo https://download.opensuse.org/repositories/devel:libraries:c_c++/openSUSE_Factory/devel:libraries:c_c++.repo
      zypper refresh
      zypper install freetype
      
  • SLE15:

    • Same observations as with openSUSE, even in the most basic of installs (CLI, minimal)
    • Freetype is NOT available in the core repos. Install freetype:
      zypper addrepo https://download.opensuse.org/repositories/devel:libraries:c_c++/SLE_12_SP5/devel:libraries:c_c++.repo
      zypper refresh
      zypper install freetype
      

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

No branches or pull requests

2 participants