From e098a419471ae3923cb368e81b2b3810d4012186 Mon Sep 17 00:00:00 2001 From: Mel Date: Tue, 20 Jun 2023 21:05:34 -0400 Subject: [PATCH] fix simlink instruction in Julia_Cookbook-Supplement.md We were creating a symlink to a directory, but really we want to just symlink to a julia file in /usr/local/bin. No need to make a directory there, and no need to symlink with -f flag. --- Julia_Cookbook-Supplement.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Julia_Cookbook-Supplement.md b/Julia_Cookbook-Supplement.md index 7816029..14a7c13 100644 --- a/Julia_Cookbook-Supplement.md +++ b/Julia_Cookbook-Supplement.md @@ -38,8 +38,7 @@ Typing such a long command is not convenient. Hence we recommend creating a symbolic link to the `julia` executable file in the `/usr/local/bin` folder: ```bash -$ sudo mkdir /usr/local/bin -$ sudo ln -fs /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia +$ sudo ln -s /Applications/Julia-1.0.app/Contents/Resources/julia/bin/julia /usr/local/bin/julia ``` Note that on some macOS installations the folder `/usr/local/bin` does not exist by default and hence we create it.