Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
README.md: Update final step 'symlink sage', add jupyter kernel step
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed May 2, 2022
1 parent 60bcbec commit 2116f9f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 9 additions & 6 deletions README.md
Expand Up @@ -413,15 +413,18 @@ in the Installation Guide.
get a list by typing `./sage --optional` or by visiting the
[packages documentation page](https://doc.sagemath.org/html/en/reference/spkg/).

18. Optional: Create a symlink to the `sage` executable somewhere in your
`PATH`, so you can start Sage by typing `sage` from anywhere rather
than having to either type the full path or navigate to the Sage
18. Optional: Create a symlink to the installed `sage` script in a
directory in your `PATH`, for example ``/usr/local``. This will
allow you to start Sage by typing `sage` from anywhere rather than
having to either type the full path or navigate to the Sage
directory and type `./sage`. This can be done by running:

$ ln -s $HOME/sage/sage-x.y/sage /usr/local/bin
$ sudo ln -s $(sage -sh -c 'ls $SAGE_ROOT/venv/bin/sage') /usr/local/bin

The `$HOME/sage/sage-x.y/` part may need adapting. One way to decide
how to adapt it is to run `print(SAGE_ROOT)` in a Sage session.
19. Optional: Set up SageMath as a Jupyter kernel in an existing Jupyter notebook
or JupyterLab installation, as described in [section
"Launching SageMath"](https://doc.sagemath.org/html/en/installation/launching.html)
in the installation manual.

Troubleshooting
---------------
Expand Down
2 changes: 2 additions & 0 deletions src/doc/en/installation/launching.rst
Expand Up @@ -117,6 +117,8 @@ For further reading you can have a look at the other documents in the
SageMath documentation at http://doc.sagemath.org/.


.. _sec-launching-system-jupyter:

Setting up SageMath as a Jupyter kernel in an existing Jupyter notebook or JupyterLab installation
--------------------------------------------------------------------------------------------------

Expand Down

0 comments on commit 2116f9f

Please sign in to comment.