Ask Your Question

Revision history [back]

Note: in the commands below, the initial $ in each line represents the shell prompt.

Don't type it. Just type what follows.

If your new Sage is at /home/you/sagemath, make it known to the system with the command:

$ sudo ln -sf /home/you/sagemath/sage /usr/local/bin

This will work providing /usr/local/bin is in your PATH. To make sure of that, try:

$ echo $PATH

To know which Sage starts and whether it is a symbolic link and what it links to:

$ which sage
$ ls -halF `which sage`

Note: in the commands below, do not type the initial $ in each line line, which represents the shell prompt.

Don't type it. Just type what follows.

If your new Sage is at /home/you/sagemath, make it known to the system with the command:

$ sudo ln -sf /home/you/sagemath/sage /usr/local/bin

This will work providing /usr/local/bin is in your PATH. To make sure of that, try:

$ echo $PATH

To know which Sage starts and whether it is a symbolic link and what it links to:

$ which sage
$ ls -halF `which sage`