Sage symlink not working
I've tried to create a symlink for sage to use in my OS X terminal, using the command
sudo ln -s /Applications/SageMath-7.3.app/sage/sage /usr/local/bin/sage
I got an alias file in my bin-folder, but when I try to open it all I get is this message
"The operation can’t be completed because the original item for “sage” can’t be found."
When I type in just the path /Applications/SageMath-7.3.app/sage/sage
in the terminal, sage opens just fine.
Can somebody tell me what I'm doing wrong? I'm not very accustomed to working in the terminal.
Possibly permissions issue? For myself, I usually put the path for
sage
in my.profile
, e.g. a line likeexport PATH=$PATH:'/Applications/SageMath-7.3.app/sage/'
might work for you.After completing the
ln
command, what doescommand -v sage
tell you?Try this