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

  1. Choose the appropriate release from and copy it into your clipboard.

  2. In your postInstall script, write something like:

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

curl -L | tar xz

(This will download Julia 1.2.0.)

3. Add a line that adds Julia to the PATH to your run  script . 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?