[GH-ISSUE #3439] Linux download of Ollama throws destination error #2120

Closed
opened 2026-04-12 12:21:30 -05:00 by GiteaMirror · 7 comments
Owner

Originally created by @Chidu2000 on GitHub (Apr 1, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3439

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

The curl command did not work, Ollama did not get installed

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

Downloading ollama...
Warning: Failed to open the file /tmp/tmp.XW0NnkYWmf/ollama: No such file or %##O#-#
Warning: directory
curl: (23) Failure writing output to destination

What did you expect to see?

Expected to see the download happened correctly.

Steps to reproduce

1.Navigate to Ollama
2. Hit the linux download option
3. Copy the curl command for linux installation
4. Run in your terminal

Are there any recent changes that introduced the issue?

No

OS

Linux

Architecture

x86

Platform

No response

Ollama version

'llama' from snap llama (1.4.0)

GPU

Nvidia

GPU info

545.29.06

Cuda version: 12.3

CPU

Intel

Other software

No response

Originally created by @Chidu2000 on GitHub (Apr 1, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3439 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? The curl command did not work, Ollama did not get installed curl -fsSL https://ollama.com/install.sh | sh >>> Downloading ollama... Warning: Failed to open the file /tmp/tmp.XW0NnkYWmf/ollama: No such file or %##O#-# Warning: directory curl: (23) Failure writing output to destination ### What did you expect to see? Expected to see the download happened correctly. ### Steps to reproduce 1.Navigate to Ollama 2. Hit the linux download option 3. Copy the curl command for linux installation 4. Run in your terminal ### Are there any recent changes that introduced the issue? No ### OS Linux ### Architecture x86 ### Platform _No response_ ### Ollama version 'llama' from snap llama (1.4.0) ### GPU Nvidia ### GPU info 545.29.06 Cuda version: 12.3 ### CPU Intel ### Other software _No response_
GiteaMirror added the installlinux labels 2026-04-12 12:21:30 -05:00
Author
Owner

@BruceMacD commented on GitHub (Apr 1, 2024):

Hi @Chidu2000 it looks like something is going wrong when opening the temporary directory. Which linux distro are you using?

<!-- gh-comment-id:2029948462 --> @BruceMacD commented on GitHub (Apr 1, 2024): Hi @Chidu2000 it looks like something is going wrong when opening the temporary directory. Which linux distro are you using?
Author
Owner

@Chidu2000 commented on GitHub (Apr 1, 2024):

Hi @Chidu2000 it looks like something is going wrong when opening the temporary directory. Which linux distro are you using?

Hi @BruceMacD it's Ubuntu 22.04.3 LTS

<!-- gh-comment-id:2029970841 --> @Chidu2000 commented on GitHub (Apr 1, 2024): > Hi @Chidu2000 it looks like something is going wrong when opening the temporary directory. Which linux distro are you using? Hi @BruceMacD it's Ubuntu 22.04.3 LTS
Author
Owner

@ejgutierrez74 commented on GitHub (Apr 3, 2024):

I didnt have any problem...and ive installed 1.0.28, 29 and 30....

<!-- gh-comment-id:2033306177 --> @ejgutierrez74 commented on GitHub (Apr 3, 2024): I didnt have any problem...and ive installed 1.0.28, 29 and 30....
Author
Owner

@iplayfast commented on GitHub (Apr 3, 2024):

From the command line type df -h and make sure you have space in the /tmp directory. (or / directory)

<!-- gh-comment-id:2035008735 --> @iplayfast commented on GitHub (Apr 3, 2024): From the command line type df -h and make sure you have space in the /tmp directory. (or / directory)
Author
Owner

@navyzal commented on GitHub (Apr 4, 2024):

Reinstall curl by using apt, not snap.
https://github.com/ollama/ollama/issues/3330

<!-- gh-comment-id:2035930639 --> @navyzal commented on GitHub (Apr 4, 2024): Reinstall curl by using apt, not snap. https://github.com/ollama/ollama/issues/3330
Author
Owner

@r-annicet commented on GitHub (Apr 30, 2024):

I had same issue on Ubuntu 24.04, it is solved by following @navyzal comment. The problem is from the fact that I used snap when installing curl. I reinstall it using apt and everything works fine.

<!-- gh-comment-id:2085036771 --> @r-annicet commented on GitHub (Apr 30, 2024): I had same issue on Ubuntu 24.04, it is solved by following @navyzal comment. The problem is from the fact that I used snap when installing curl. I reinstall it using apt and everything works fine.
Author
Owner

@dhiltgen commented on GitHub (Jun 1, 2024):

@Chidu2000 if the snap->apt switch for the curl install didn't fix your problem, please let us know.

<!-- gh-comment-id:2143619746 --> @dhiltgen commented on GitHub (Jun 1, 2024): @Chidu2000 if the snap->apt switch for the curl install didn't fix your problem, please let us know.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#2120