Goal
To install Juno for convenient development in Julia.
Problem
After Juno installation, I received the following error.
Analysis
From the error message, the system had tried to find an executable file julia
,
which would then be executed by the shell /bin/sh
. Nonetheless, it’s absent
from the system’s environment $PATH
, so Juno couldn’t find it.
I’ve only changed my $PATH
in ZSHRC, which is user-specific.
Solution
This Stack Overflow question about $PATH
setting on *nix has
provided various solution. As I was in a hurry to get Julia run on Juno,
I’ve taken the advice from the best answer. I prefer creating a separate
shortcut under /usr/bin
, rather than editing system-wide config files.