juliaup icon indicating copy to clipboard operation
juliaup copied to clipboard

Cannot execute juliainstaller

Open aplavin opened this issue 3 years ago • 3 comments

First time trying juliaup, attempted to install in on a server (with gentoo). The result is:

╰─$ curl -fsSL https://install.julialang.org | sh


info: downloading installer
Cannot execute /tmp/tmp.WgttSEbBvc/juliainstaller.
Please install the files to a location where you can execute binaries.

The server policy is to mount the /tmp filesystem as noexec, so makes sense that it couldn't execute that file.

I tried copying /tmp/tmp.WgttSEbBvc/juliainstaller to another location to run it, but the file doesn't seem to even exist.

What else can I do to install juliaup?

aplavin avatar Nov 22 '22 09:11 aplavin

Maybe we need to add a command line argument for the shell script that allows one to specify a temporary location where the juliainstaller should be put? In a case like yours one could then simply specify an alternative location that is different than /tmp. Would that work?

davidanthoff avatar Nov 23 '22 01:11 davidanthoff

Solved it with curl -fsSL https://install.julialang.org | TMPDIR=~/tmp sh.

aplavin avatar Nov 23 '22 17:11 aplavin

Issue #673 is related: there curl can't download to /tmp.

fingolfin avatar Jan 14 '24 21:01 fingolfin