Installation problem

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!

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

ls -lhd /tmp

?

3 Likes

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!

1 Like

What happens if you do

echo test > /tmp/foobar
cat /tmp/foobar
mkdir /tmp/tmpdir-foobar
ls -l /tmp/tmpdir-foobar
2 Likes

What does …

mount | grep /tmp

… say?

1 Like

There’s been a previous thread on this problem.

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

There was also a question why was using the musl version

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)

1 Like

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:

1 Like

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

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