On Tue, 2024-12-24 at 08:41 +1100, Stephen Morris wrote:
> When an application is run and it says it can't access Opengl, when I 
> issue the command "sudo dnf provides */opengl", how do I determine what 
> needs to be installed when that command returns a whole host of 
> different packages which include documentation packages?
> Unfortunately I don't remember which application it was I was trying to 
> run and I don't remember whether it did what I was trying to do or 
> whether I went looking for something else.

[You don't need the 'sudo' unless you're installing or removing
something.]

$ rpm -qa \*opengl\*
libglvnd-opengl-1.7.0-5.fc41.x86_64
qemu-ui-opengl-9.1.2-2.fc41.x86_64
$

If something won't run because a library is missing, then either the
package it belongs to is incorrectly installed (which can be checked
using 'rpm -V <package>'), or you're trying to run something that
wasn't installed using the package system.

If you remember what the app was, you could try 'ldd </path/to/app>' to
see what specific libraries it wants, then use 'dnf provides ...' on
those components, but there could be conflicts.

Does the exact error message say something more useful than "can't
access OpenGL"?

poc
-- 
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to