I would like to be able to open the software "Julia" by simply typing julia
in a terminal at any location (like I can do for, say, firefox
). Currently, I have to type
cd ~/julia
./julia
According to the documentation I must:
Add a soft link to the julia executable in the julia directory to /usr/local/bin
(or any suitable directory already in your path).
I don't fully understand softlinks, but I can't figure out why this doesn't work:
ln -s ~/julia /usr/local/bin
Why won't this allow me to access the contents of the ~/julia
file (including the julia executable) directly?