[GH-ISSUE #6463] Unable to Access Linux Package for Installation #29826

Closed
opened 2026-04-22 09:05:20 -05:00 by GiteaMirror · 8 comments
Owner

Originally created by @f1mahesh on GitHub (Aug 22, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/6463

What is the issue?

Hi Team,

We are encountering a 404 error when attempting to download the Linux package from the following URL: https://ollama.com/download/ollama-linux-amd64.tgz.

Details:
URL: https://ollama.com/download/ollama-linux-amd64.tgz
Error: 404 Not Found
Impact: Users are unable to download and install the required Linux package, which may hinder their ability to use the software or service provided by Ollama.

Steps to Reproduce:
Open a web browser.
Navigate to the URL: https://ollama.com/download/ollama-linux-amd64.tgz.
Observe the 404 error message displayed.

OS

Linux

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @f1mahesh on GitHub (Aug 22, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/6463 ### What is the issue? Hi Team, We are encountering a 404 error when attempting to download the Linux package from the following URL: https://ollama.com/download/ollama-linux-amd64.tgz. **Details:** URL: https://ollama.com/download/ollama-linux-amd64.tgz Error: 404 Not Found Impact: Users are unable to download and install the required Linux package, which may hinder their ability to use the software or service provided by Ollama. **Steps to Reproduce:** Open a web browser. Navigate to the URL: https://ollama.com/download/ollama-linux-amd64.tgz. Observe the 404 error message displayed. ### OS Linux ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-22 09:05:20 -05:00
Author
Owner

@preshanth commented on GitHub (Aug 22, 2024):

Yeah I am unable to access the linux package download as well.

curl -fsSL https://ollama.com/download/ollama-linux-amd64.tgz
curl: (22) The requested URL returned error: 404

<!-- gh-comment-id:2304840710 --> @preshanth commented on GitHub (Aug 22, 2024): Yeah I am unable to access the linux package download as well. ``` curl -fsSL https://ollama.com/download/ollama-linux-amd64.tgz curl: (22) The requested URL returned error: 404 ```
Author
Owner

@rick-github commented on GitHub (Aug 22, 2024):

Why are you trying to download the tgz directly? The packaging for ollama was changed in 74d45f0102, but it has a fallback to the previous method in the case where the tgz is not found. I expect that the next release (0.3.7) will be in the new format and the direct link will work, but users should be using the install.sh script, not downloading random files.

<!-- gh-comment-id:2304968030 --> @rick-github commented on GitHub (Aug 22, 2024): Why are you trying to download the tgz directly? The packaging for ollama was changed in https://github.com/ollama/ollama/commit/74d45f010276c2f2653f3ca8c4f76cb0552fb46e, but it has a fallback to the previous method in the case where the tgz is not found. I expect that the next release (0.3.7) will be in the new format and the direct link will work, but users should be using the `install.sh` script, not downloading random files.
Author
Owner

@preshanth commented on GitHub (Aug 22, 2024):

It is for the case of not having root on a machine which the install script needs or does not end up installing into a local users area. I suppose the solution is to move to the containerized version ?

<!-- gh-comment-id:2304986362 --> @preshanth commented on GitHub (Aug 22, 2024): It is for the case of not having root on a machine which the install script needs or does not end up installing into a local users area. I suppose the solution is to move to the containerized version ?
Author
Owner

@rick-github commented on GitHub (Aug 22, 2024):

When the next release is cut you will be able to download the tgz, but this is an archive, not a binary as it was previously. Whatever install method you used to get around the root requirement will need to be adjusted. If you have the ability to install docker, the containerized version will be (IMO) simpler to manage.

<!-- gh-comment-id:2305007737 --> @rick-github commented on GitHub (Aug 22, 2024): When the next release is cut you will be able to download the tgz, but this is an archive, not a binary as it was previously. Whatever install method you used to get around the root requirement will need to be adjusted. If you have the ability to install docker, the containerized version will be (IMO) simpler to manage.
Author
Owner

@preshanth commented on GitHub (Aug 22, 2024):

I do use the containerized version where docker is available. Thanks for the info on the release.

<!-- gh-comment-id:2305032099 --> @preshanth commented on GitHub (Aug 22, 2024): I do use the containerized version where docker is available. Thanks for the info on the release.
Author
Owner

@mxyng commented on GitHub (Aug 22, 2024):

@rick-github is correct. The linked change adds .tgz packaging. There isn't a release with that change currently so the artifact does not exist and the install script will fallback to the previous single binary download.

This will be resolved in the next release. In the meantime, please use either the single binary form factor ollama-linux-<arch> or the container image.

<!-- gh-comment-id:2305087473 --> @mxyng commented on GitHub (Aug 22, 2024): @rick-github is correct. The linked change adds `.tgz` packaging. There isn't a release with that change currently so the artifact does not exist and the install script will fallback to the previous single binary download. This will be resolved in the next release. In the meantime, please use either the single binary form factor `ollama-linux-<arch>` or the container image.
Author
Owner

@f1mahesh commented on GitHub (Aug 22, 2024):

files.

The install.sh file internally referring to the same file and trying to download form the same location.

<!-- gh-comment-id:2305176443 --> @f1mahesh commented on GitHub (Aug 22, 2024): > files. The install.sh file internally referring to the same file and trying to download form the same location.
Author
Owner

@csllc-one commented on GitHub (Mar 20, 2025):

Well this is discouraging. It's March 2025 and this is still a thing. Using installer (sudo curl -fsSL https://ollama.com/install.sh | sh).

<!-- gh-comment-id:2741650552 --> @csllc-one commented on GitHub (Mar 20, 2025): Well this is discouraging. It's March 2025 and this is still a thing. Using installer (sudo curl -fsSL https://ollama.com/install.sh | sh).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29826