From 237259de424a06e3e9d36be1dd9d4a566c2ad91f Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 10 Dec 2024 11:44:53 +0100 Subject: [PATCH 1/2] Document exact packages required by system package managers to install OpenGL drivers --- docs/maintainer/maintainer_faq.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/maintainer/maintainer_faq.md b/docs/maintainer/maintainer_faq.md index a6e912e4a6..d9aed99151 100644 --- a/docs/maintainer/maintainer_faq.md +++ b/docs/maintainer/maintainer_faq.md @@ -141,7 +141,10 @@ requirements: Other OpenGL API variants such as `libegl-devel`, `libgles-devel`, `libglx-devel`, and `libopengl-devel` are also available, and will automatically add non-development `run_exports` dependencies. -If you are seeing this error after installing a package locally, then you are missing an [OpenGL](https://en.wikipedia.org/wiki/OpenGL) provider in your system dependencies. This is more likely to happen in headless systems with no graphics (servers, Docker images, etc). To fix it, you must install a provider like [Mesa](https://www.mesa3d.org/) with your system package manager. +If you are seeing this error after installing a package locally, then you are missing an [OpenGL](https://en.wikipedia.org/wiki/OpenGL) provider in your system dependencies. This is more likely to happen in headless systems with no graphics (servers, Docker images, etc). To fix it, you must install a provider like [Mesa](https://www.mesa3d.org/) with your system package manager, for example (check your distro documentation for exact packages): + +- Debian/Ubuntu-based distributions: `sudo apt-get install libgl1-mesa-dri libglx-mesa0 libegl-mesa0` +- Fedora-based distributions: `sudo dnf install `sudo dnf install mesa-libGL mesa-libEGL mesa-dri-drivers` From 856a32af53b434c31e6b1c2aadcf99134d1deb96 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Tue, 10 Dec 2024 11:47:08 +0100 Subject: [PATCH 2/2] Fix typo --- docs/maintainer/maintainer_faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/maintainer/maintainer_faq.md b/docs/maintainer/maintainer_faq.md index d9aed99151..d2ec4920a6 100644 --- a/docs/maintainer/maintainer_faq.md +++ b/docs/maintainer/maintainer_faq.md @@ -144,7 +144,7 @@ Other OpenGL API variants such as `libegl-devel`, `libgles-devel`, `libglx-devel If you are seeing this error after installing a package locally, then you are missing an [OpenGL](https://en.wikipedia.org/wiki/OpenGL) provider in your system dependencies. This is more likely to happen in headless systems with no graphics (servers, Docker images, etc). To fix it, you must install a provider like [Mesa](https://www.mesa3d.org/) with your system package manager, for example (check your distro documentation for exact packages): - Debian/Ubuntu-based distributions: `sudo apt-get install libgl1-mesa-dri libglx-mesa0 libegl-mesa0` -- Fedora-based distributions: `sudo dnf install `sudo dnf install mesa-libGL mesa-libEGL mesa-dri-drivers` +- Fedora-based distributions: `sudo dnf install mesa-libGL mesa-libEGL mesa-dri-drivers`