Generally, you can access Julia by either starting from a Julia-baed environment or adding it through conda. But if you need, say, MATLAB and Julia, or Stata and Julia, you'll need to use the postInstall script.

First, choose the appropriate release from and copy it into your clipboard.
Second, in your postInstall script, write something like:

#!/usr/bin/env bash
set -e

curl -L | tar xz

(This will download Julia 1.2.0.)

Third, add to your run  script a line that adds Julia to the PATH . If you are downloading Julia 1.2, your run  script will look like:

#!/usr/bin/env bash
set -ex

export PATH=$PATH:/julia-1.2.0/bin/

You can test that this worked by running julia --version .
For a more thorough overview of writing postInstall scripts, see Tutorial: how to write a postInstall script that downloads and installs research software.

Did this answer your question?