El sábado, 28 de noviembre de 2015, 15:00:50 (UTC-6), Kevin Owens escribió:
>
> tl;dr: how to make a symbolic link in OS X.
>
> So, if you don't want to build Julia from source, you can download the 
> .app on OS X. For me, this doesn't work well because it opens Terminal when 
> I double click on the .app, and I like to use Iterm. Also, there's not an 
> easy way to open or use Julia from the terminal.
>
> The solution is a symbolic link, and running something like this in a 
> terminal:
>
> sudo ln -s /Applications/Julia-0.4.1.app/Contents/Resources/julia/bin/julia 
> /usr/bin/julia
> sudo ln -s /Applications/Julia-0.4.1.app/Contents/Resources/julia/bin/
> julia-debug /usr/bin/julia-debug
>
>
>
> which creates links in /usr/bin to julia and julia-debug.
>


Or just add an alias to ".bash_profile" in your home directory: 

alias 
julia="/Applications/Julia-0.4.1.app/Contents/Resources/julia/bin/julia"
 

Reply via email to