[GH-ISSUE #12343] Install script curl issues #70258

Open
opened 2026-05-04 20:48:08 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @ch1waner on GitHub (Sep 19, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12343

Hi all,
You may be aware that curl in many cases struggles to download large files reliable on slower internet connections.
The current approach will often end with a connection error during download

curl -fsSL https://ollama.com/install.sh | sh

Suggestion:

Replace curl with e.g. aria2 (much more reliable for large downloads)

For myself I did the following below:

I modified the install script
I use aria2 to download the package manually - and then run the modified install script separately

status "Downloading Linux ${ARCH} bundle"

if [ ! -f "ollama-linux-${ARCH}.tgz" ]; then
curl --fail --show-error --location --progress-bar
"https://ollama.com/download/ollama-linux-${ARCH}.tgz${VER_PARAM}"
-o "ollama-linux-${ARCH}.tgz"
else
status "Using already downloaded package for installation"

fi

Thanks for the great work - I'm a big fan of the Ollama project
Ernst

Originally created by @ch1waner on GitHub (Sep 19, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12343 Hi all, You may be aware that curl in many cases struggles to download large files reliable on slower internet connections. The current approach will often end with a connection error during download curl -fsSL https://ollama.com/install.sh | sh **Suggestion:** Replace curl with e.g. aria2 (much more reliable for large downloads) For myself I did the following below: I modified the install script I use aria2 to download the package manually - and then run the modified install script separately status "Downloading Linux ${ARCH} bundle" if [ ! -f "ollama-linux-${ARCH}.tgz" ]; then curl --fail --show-error --location --progress-bar \ "https://ollama.com/download/ollama-linux-${ARCH}.tgz${VER_PARAM}" \ -o "ollama-linux-${ARCH}.tgz" else status "Using already downloaded package for installation" fi Thanks for the great work - I'm a big fan of the Ollama project Ernst
GiteaMirror added the feature request label 2026-05-04 20:48:08 -05:00
Author
Owner
<!-- gh-comment-id:3312288652 --> @rick-github commented on GitHub (Sep 19, 2025): https://github.com/ollama/ollama/pull/8359 https://github.com/ollama/ollama/pull/11716
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#70258