[GH-ISSUE #7598] install.sh should not touch the system #4846

Open
opened 2026-04-12 15:50:46 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @RheaAyase on GitHub (Nov 10, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7598

What is the issue?

I was horrified to see the install script attempt to install kernel headers and nvidia drivers and other GUI shit (xorg) on my headless server. It is not okay for an APPLICATION to touch the system in any way, especially doing this kind of invasive operations. This has to be opt-in - at least remove the -y from the package manager lines, seriously, not even a confirmation from the user?!

OS

Linux

GPU

Other

CPU

AMD

Ollama version

latest

Originally created by @RheaAyase on GitHub (Nov 10, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7598 ### What is the issue? I was horrified to see the install script attempt to install kernel headers and nvidia drivers and other GUI shit (xorg) on my headless server. It is not okay for an APPLICATION to touch the system in any way, especially doing this kind of invasive operations. This has to be opt-in - at least remove the -y from the package manager lines, seriously, not even a confirmation from the user?! ### OS Linux ### GPU Other ### CPU AMD ### Ollama version latest
GiteaMirror added the bug label 2026-04-12 15:50:46 -05:00
Author
Owner

@gabe-l-hart commented on GitHub (Nov 11, 2024):

Hi @RheaAyase, I agree that the default install.sh should give the user visibility into any system-wide changes being made. While not a fix to this in install.sh, I have an open PR to the docs to add manual non-root installation instructions which I'll cross-post here for anyone else that is looking for a non-invasive way to get up and running.

https://github.com/ollama/ollama/pull/7422

<!-- gh-comment-id:2468442589 --> @gabe-l-hart commented on GitHub (Nov 11, 2024): Hi @RheaAyase, I agree that the default `install.sh` should give the user visibility into any system-wide changes being made. While not a fix to this in `install.sh`, I have an open PR to the docs to add manual non-root installation instructions which I'll cross-post here for anyone else that is looking for a non-invasive way to get up and running. https://github.com/ollama/ollama/pull/7422
Author
Owner

@RheaAyase commented on GitHub (Nov 11, 2024):

I mean it's a script, it shouldn't be without any interaction, it's okay to ask for user input - that's what it's supposed to be, an installer. Not a makefile... I'd insert some questions into it (Don't really have time to spare anytime soon):

  • install bare minimum
  • ask about installing systemd service
  • ask about installing gpu drivers
<!-- gh-comment-id:2469281908 --> @RheaAyase commented on GitHub (Nov 11, 2024): I mean it's a script, it shouldn't be without any interaction, it's okay to ask for user input - that's what it's supposed to be, an installer. Not a makefile... I'd insert some questions into it (Don't really have time to spare anytime soon): - install bare minimum - ask about installing systemd service - ask about installing gpu drivers
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4846