Ask Your Question

Sage symlink not working

asked 2016-08-30 14:53:03 +0200

enanae gravatar image

updated 2017-01-08 12:23:08 +0200

FrédéricC gravatar image

I've tried to create a symlink for sage to use in my OS X terminal, using the command

sudo ln -s /Applications/ /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/ 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.

edit retag flag offensive close merge delete


Possibly permissions issue? For myself, I usually put the path for sage in my .profile, e.g. a line like export PATH=$PATH:'/Applications/' might work for you.

kcrisman gravatar imagekcrisman ( 2016-08-30 15:26:13 +0200 )edit

After completing the ln command, what does command -v sage tell you?

John Palmieri gravatar imageJohn Palmieri ( 2016-08-31 16:16:11 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2016-09-05 15:16:27 +0200

slelievre gravatar image

Try this

$ ln -sf /Applications/ /usr/local/bin/sage
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2016-08-30 14:53:03 +0200

Seen: 424 times

Last updated: Sep 05 '16