[GH-ISSUE #4960] user is not in the sudoers file - add support to install on debian 12 #28892

Open
opened 2026-04-22 07:26:47 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @geroldmeisinger on GitHub (Jun 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4960

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

Debian 12

$ curl -fsSL https://ollama.com/install.sh | sh
>>> Downloading ollama...
######################################################################## 100.0%######################################################################### 100.0%
>>> Installing ollama to /usr/local/bin...
[sudo] password for user: 
user is not in the sudoers file.
$ su
$ curl -fsSL https://ollama.com/install.sh | sh
>>> Downloading ollama (again)...
######################################################################## 100.0%######################################################################### 100.0%
>>> Installing ollama to /usr/local/bin...
>>> Creating ollama user...
sh: 88: useradd: not found
>>> The Ollama API is now available at 127.0.0.1:11434.
>>> Install complete. Run "ollama" from the command line.
$ systemctl status ollama
Unit ollama.service could not be found.
$ su -
$ curl -fsSL https://ollama.com/install.sh | sh
>>> Downloading ollama ... again ...
######################################################################## 100.0%######################################################################### 100.0%
>>> Installing ollama to /usr/local/bin...
>>> Creating ollama user...
>>> Adding ollama user to render group...
>>> Adding ollama user to video group...
>>> Adding current user to ollama group...
>>> Creating ollama systemd service...
>>> Enabling and starting ollama service...
Created symlink /etc/systemd/system/default.target.wants/ollama.service → /etc/systemd/system/ollama.service.
>>> NVIDIA GPU installed.
$ systemctl status ollama
● ollama.service - Ollama Service
     Loaded: loaded (/etc/systemd/system/ollama.service; enabled; preset: enabl>
     Active: active (running) since Mon 2024-06-10 12:30:24 CEST; 14s ago
   Main PID: 99053 (ollama)
      Tasks: 18 (limit: 38237)
     Memory: 590.0M
        CPU: 3.004s
     CGroup: /system.slice/ollama.service
             └─99053 /usr/local/bin/ollama serve

OS

Linux

GPU

Nvidia

CPU

Intel

Ollama version

latest

Originally created by @geroldmeisinger on GitHub (Jun 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4960 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? Debian 12 ``` $ curl -fsSL https://ollama.com/install.sh | sh >>> Downloading ollama... ######################################################################## 100.0%######################################################################### 100.0% >>> Installing ollama to /usr/local/bin... [sudo] password for user: user is not in the sudoers file. ``` ``` $ su $ curl -fsSL https://ollama.com/install.sh | sh >>> Downloading ollama (again)... ######################################################################## 100.0%######################################################################### 100.0% >>> Installing ollama to /usr/local/bin... >>> Creating ollama user... sh: 88: useradd: not found >>> The Ollama API is now available at 127.0.0.1:11434. >>> Install complete. Run "ollama" from the command line. $ systemctl status ollama Unit ollama.service could not be found. ``` ``` $ su - $ curl -fsSL https://ollama.com/install.sh | sh >>> Downloading ollama ... again ... ######################################################################## 100.0%######################################################################### 100.0% >>> Installing ollama to /usr/local/bin... >>> Creating ollama user... >>> Adding ollama user to render group... >>> Adding ollama user to video group... >>> Adding current user to ollama group... >>> Creating ollama systemd service... >>> Enabling and starting ollama service... Created symlink /etc/systemd/system/default.target.wants/ollama.service → /etc/systemd/system/ollama.service. >>> NVIDIA GPU installed. $ systemctl status ollama ● ollama.service - Ollama Service Loaded: loaded (/etc/systemd/system/ollama.service; enabled; preset: enabl> Active: active (running) since Mon 2024-06-10 12:30:24 CEST; 14s ago Main PID: 99053 (ollama) Tasks: 18 (limit: 38237) Memory: 590.0M CPU: 3.004s CGroup: /system.slice/ollama.service └─99053 /usr/local/bin/ollama serve ``` ### OS Linux ### GPU Nvidia ### CPU Intel ### Ollama version latest
GiteaMirror added the bug label 2026-04-22 07:26:47 -05:00
Author
Owner

@geroldmeisinger commented on GitHub (Oct 20, 2025):

any update on this? it's been a year

<!-- gh-comment-id:3420626909 --> @geroldmeisinger commented on GitHub (Oct 20, 2025): any update on this? it's been a year
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28892