Ask Your Question

Revision history [back]

Make sure sage points to the new Sage.

You could try which sage to check where the shell finds something called sage.

Then in case it is a symlink you could locate where it points to with

ls -halF $(which sage)

In case which sage returned /usr/local/bin/sage you can replace the symlink using

ln -sf /Users/williamorrick2/sage-9.4/sage /usr/local/bin

or, if that gives a permission error, the same with sudo:

sudo ln -sf /Users/williamorrick2/sage-9.4/sage /usr/local/bin

Make sure sage points to the new Sage.

You could try which sage to check where the shell finds something called sage.

Then in case it is a symlink you could locate where it points to with

ls -halF $(which sage)

In case which sage returned /usr/local/bin/sage you can replace the symlink using

ln -sf /Users/williamorrick2/sage-9.4/sage /usr/local/bin

/usr/local/bin

or, if that gives a permission error, the same with sudo:

sudo ln -sf /Users/williamorrick2/sage-9.4/sage /usr/local/bin

/usr/local/bin