41 | | {{{ |
42 | | [ -z "$PS1" ] && return |
43 | | }}} |
44 | | to: |
45 | | {{{ |
46 | | [ -z "$PS1" ] && . /etc/profile.d/sage.sh && return |
47 | | }}} |
48 | | This will setup all required environmental variables even if you don't start an interactive session but just run a command using ssh. |
| 41 | {{{ |
| 42 | [ -z "$PS1" ] && return |
| 43 | }}} |
| 44 | to: |
| 45 | {{{ |
| 46 | [ -z "$PS1" ] && . /etc/profile.d/sage.sh && return |
| 47 | }}} |
| 48 | This will setup all required environmental variables even if you don't start an interactive session but just run a command using ssh. |
| 49 | |
| 50 | 2. Libraries location |
| 51 | Some applications using SAGE may not found SAGE libraries if you run an amd64 system. |
| 52 | All you have to do is: |
| 53 | * enter SAGE installation directory (/usr/local/sage by default) |
| 54 | * make a symlink (ln -s) to lib64 folder and name it lib (sudo ln -s lib64 lib) |