[GH-ISSUE #6731] error wile install on opensuse leap 15.6 #50753

Closed
opened 2026-04-28 17:01:27 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @kc8pdr205 on GitHub (Sep 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6731

What is the issue?

I'm trying to install ollame in leap 15.6 When I try the command to install ollama . I getting his error. I have both files installed

WARNING: Unable to detect NVIDIA/AMD GPU. Install lspci or lshw to automatically detect and install GPU dependencies.I do have cuda and the NVIDIA drivers installed

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

No response

Originally created by @kc8pdr205 on GitHub (Sep 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6731 ### What is the issue? I'm trying to install ollame in leap 15.6 When I try the command to install ollama . I getting his error. I have both files installed WARNING: Unable to detect NVIDIA/AMD GPU. Install lspci or lshw to automatically detect and install GPU dependencies.I do have cuda and the NVIDIA drivers installed ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-28 17:01:27 -05:00
Author
Owner

@rick-github commented on GitHub (Sep 10, 2024):

The install script doesn't think lspci or lshw are installed. What happens if you run lspci and lshw? If they work, what's the result of which lspci and which lshw?

<!-- gh-comment-id:2341448229 --> @rick-github commented on GitHub (Sep 10, 2024): The install script doesn't think `lspci` or `lshw` are installed. What happens if you run `lspci` and `lshw`? If they work, what's the result of `which lspci` and `which lshw`?
Author
Owner

@kc8pdr205 commented on GitHub (Sep 10, 2024):

When I run for lshw I get /usr/sbin/lshw
and for lspci I get /sbin/lspci

<!-- gh-comment-id:2341542382 --> @kc8pdr205 commented on GitHub (Sep 10, 2024): When I run for lshw I get /usr/sbin/lshw and for lspci I get /sbin/lspci
Author
Owner

@rick-github commented on GitHub (Sep 10, 2024):

Looks like you are installing in an environment that does not have /sbin/ in the PATH variable. Try running

curl -fsSL https://ollama.com/install.sh | PATH="/sbin:/usr/sbin:$PATH" sh
<!-- gh-comment-id:2341561234 --> @rick-github commented on GitHub (Sep 10, 2024): Looks like you are installing in an environment that does not have /sbin/ in the `PATH` variable. Try running ``` curl -fsSL https://ollama.com/install.sh | PATH="/sbin:/usr/sbin:$PATH" sh ```
Author
Owner

@kc8pdr205 commented on GitHub (Sep 10, 2024):

thanks that worked

<!-- gh-comment-id:2341581816 --> @kc8pdr205 commented on GitHub (Sep 10, 2024): thanks that worked
Author
Owner

@jmorganca commented on GitHub (Sep 11, 2024):

Thanks @rick-github! Will close this

<!-- gh-comment-id:2342436425 --> @jmorganca commented on GitHub (Sep 11, 2024): Thanks @rick-github! Will close this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#50753