Gerard
December 29, 2024, 10:30am
1
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
Gerard
December 29, 2024, 4:11pm
3
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
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:
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…
1 Like
Gerard
December 30, 2024, 7:07pm
9
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
Gerard
December 30, 2024, 7:11pm
10
I remember having installed Curl with sudo apt, not with Snap. The other posts are getting to technical for me