# Installation problem

**URL:** https://discourse.julialang.org/t/installation-problem/124245
**Category:** New to Julia
**Tags:** installation
**Created:** [December 29, 2024, 10:30am UTC](https://discourse.julialang.org/t/installation-problem/124245 "2024-12-29T10:30:19Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Gerard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gerard/32/214429_2.png) [@Gerard](https://discourse.julialang.org/u/Gerard)
#### Post date: [December 29, 2024, 10:30am UTC](https://discourse.julialang.org/t/installation-problem/124245/1 "2024-12-29T10:30:19Z")

</div>

I am using `curl -fsSL https://install.julialang.org | sh` to install Julia on Kubuntu 24.10. I get this error:

`info: downloading installer curl: (23) Failure writing output to destination juliaup: command failed: downloader https://julialang-s3.julialang.org/juliaup/bin/juliainstaller-1.17.9-x86_64-unknown-linux-musl /tmp/tmp.mlz03r5NiA/juliainstaller x86_64-unknown-linux-musl`

I am not an experienced linux user therefore looking for an easy installation procedure. Thx!

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [December 29, 2024, 12:10pm UTC](https://discourse.julialang.org/t/installation-problem/124245/2 "2024-12-29T12:10:52Z")

</div>

Is this your personal machine or some other shared system you have access to? Are you able to write to the `/tmp` directory? What’s the output of the terminal command

```julia
ls -lhd /tmp

```

?

---

<div class="post-metadata">

### Author: ![Gerard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gerard/32/214429_2.png) [@Gerard](https://discourse.julialang.org/u/Gerard)
#### Post date: [December 29, 2024, 4:11pm UTC](https://discourse.julialang.org/t/installation-problem/124245/3 "2024-12-29T16:11:10Z")

</div>

It is a personal laptop. The command `ls -lhd /tmp` returns this response: `drwxrwxrwt 20 root root 4,0K dec 29 17:03 /tmp` Thx!

---

<div class="post-metadata">

### Author: ![fingolfin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fingolfin/32/6033_2.png) [@fingolfin](https://discourse.julialang.org/u/fingolfin)
#### Post date: [December 30, 2024, 12:31am UTC](https://discourse.julialang.org/t/installation-problem/124245/4 "2024-12-30T00:31:06Z")

</div>

What happens if you do

```julia
echo test > /tmp/foobar
cat /tmp/foobar
mkdir /tmp/tmpdir-foobar
ls -l /tmp/tmpdir-foobar

```

---

<div class="post-metadata">

### Author: ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)
#### Post date: [December 30, 2024, 12:39am UTC](https://discourse.julialang.org/t/installation-problem/124245/5 "2024-12-30T00:39:06Z")

</div>

What does …

```sh
mount | grep /tmp

```

… say?

---

<div class="post-metadata">

### Author: ![Andy2K11](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/andy2k11/32/9967_2.png) [@Andy2K11](https://discourse.julialang.org/u/Andy2K11)
#### Post date: [December 30, 2024, 10:12am UTC](https://discourse.julialang.org/t/installation-problem/124245/6 "2024-12-30T10:12:15Z")

</div>

There’s been a previous [thread](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977) on this problem.

You can try making a temporary directory in your home folder where you have write permission

> [@Installation fails (on Ubuntu 22) when using instruction (via curl): \`curl: (23) Failure writing output to destination\`](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977/5):
>
> `mkdir ~/tmp` and then `export TMPDIR=~/tmp`

There was also a question why was using the musl version

> [@Installation fails (on Ubuntu 22) when using instruction (via curl): \`curl: (23) Failure writing output to destination\`](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977/18):
>
> Something still seems quite off here. Why is it downloading the musl version?
> 
> How did you install Ubuntu?

It might also be due to having a snap version of curl (why I don’t use Ubuntu anymore, I hate being forced to use snaps)

> [@Installation fails (on Ubuntu 22) when using instruction (via curl): \`curl: (23) Failure writing output to destination\`](https://discourse.julialang.org/t/installation-fails-on-ubuntu-22-when-using-instruction-via-curl-curl-23-failure-writing-output-to-destination/110977/24):
>
> I got the same problem and it seems that its a problem with the snap version of curl. Removing curl with snap and installing it again with apt fixed the problem.

---

<div class="post-metadata">

### Author: ![giordano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/giordano/32/2166_2.png) [@giordano](https://discourse.julialang.org/u/giordano)
#### Post date: [December 30, 2024, 11:40am UTC](https://discourse.julialang.org/t/installation-problem/124245/7 "2024-12-30T11:40:33Z")

</div>

> [@Andy2K11](#):
>
> There was also a question why was using the musl version

That’s not a problem, it simply indicates a fully static executable which bundles the musl C library, and thus can be run on any other x86-64 Linux system:

> [@Why does Juliaup install the musl version on Linux?](https://discourse.julialang.org/t/why-does-juliaup-install-the-musl-version-on-linux/117388/6):
>
> Note that the executable is fully statically compiled: % curl -LfSs 'https://julialang-s3.julialang.org/juliaup/bin/juliainstaller-1.14.9-x86\_64-unknown-linux-musl'; readelf -d juliainstaller-1.14.9-x86\_64-unknown-linux-musl Dynamic section at offset 0x531718 contains 22 entries: Tag Type Name/Value 0x0000000000000010 (SYMBOLIC) 0x0 0x000000000000000c (INIT) 0x3b018 0x000000000000000d (FINI) 0x3dc376 0x0000000000000019…

---

<div class="post-metadata">

### Author: ![Gerard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gerard/32/214429_2.png) [@Gerard](https://discourse.julialang.org/u/Gerard)
#### Post date: [December 30, 2024, 7:07pm UTC](https://discourse.julialang.org/t/installation-problem/124245/9 "2024-12-30T19:07:13Z")

</div>

This seems to work properly:

`ideapad@ideapad-80ru:~$ echo test > /tmp/foobar ideapad@ideapad-80ru:~$ cat /tmp/foobar test ideapad@ideapad-80ru:~$ mkdir /tmp/tmpdir-foobar ideapad@ideapad-80ru:~$ ls -l /tmp/tmpdir-foobar total 0`

---

<div class="post-metadata">

### Author: ![Gerard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gerard/32/214429_2.png) [@Gerard](https://discourse.julialang.org/u/Gerard)
#### Post date: [December 30, 2024, 7:11pm UTC](https://discourse.julialang.org/t/installation-problem/124245/10 "2024-12-30T19:11:37Z")

</div>

I remember having installed Curl with sudo apt, not with Snap. The other posts are getting to technical for me
