On Mar 26, 8:51 am, bb <[email protected]> wrote:
> I do not understand a sentence in the Installation manual as there is
> written:
>
> "If you do this, make sure you edit the line with the ....‘s at the top
> of the sage script."
>
> In this section simply the Path "$SAGE_ROOT/sage" should be copied into
> the PATH of the machine.
> What is there meant with "the ....‘s"? I am not on top of intelligence
> scale - please help me to understand.

You are suppose to pronounce it, as in "the line with the dots at the
top", but the 's is an unusual way to attach a plural s to a word in
english. That probably threw you of.

They are referring to the line
SAGE_ROOT="....."

In fact, the script goes through quite some trouble to derive a valid
value for SAGE_ROOT itself, so often it is not necessary to make the
proposed change.

I place the following python script in /usr/local/bin:
-----------------------------
$ cat /usr/local/bin/sage
#!/usr/bin/python
import os
import sys
sys.argv[0] = os.path.realpath('/usr/local/sage/default/sage')
os.execv(sys.argv[0],sys.argv)
-----------------------------
Then as long as the symbolic link /usr/local/sage/default points to
the directory of the latest sage install, things work without
explicitly editing SAGE_ROOT.

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

To unsubscribe from this group, send email to 
sage-support+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to