HELP

19 views
Skip to first unread message

Cosimo Romito

unread,
Feb 15, 2021, 12:26:03 PM2/15/21
to sage-devel
Salve, ho provato a scaricare Sage per linux/64bit versione 8.7.
Vorrei sapere come faccio a lanciare il programma dal terminale.
Ho provato a usare la dicitura "sage -notebook" ma non parte. Qualcuno sa dirmi come devo fare?

David Joyner

unread,
Feb 15, 2021, 12:27:21 PM2/15/21
to sage-devel
In English, thanks to google translate:

Hi, I tried to download Sage for linux / 64bit version 8.7.
I would like to know how I can launch the program from the terminal.
I tried to use "sage -notebook" but it doesn't start. Can anyone tell me how to do it?

--
You received this message because you are subscribed to the Google Groups "sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/d8a7a555-4447-4a76-9d6d-cdddc09b77e5n%40googlegroups.com.

Samuel Lelievre

unread,
Feb 15, 2021, 1:05:59 PM2/15/21
to sage-devel
After downloading the compressed Sage for Linux/64bit,
extract the compressed archive, move it to some location
(let us say it becomes `/path/to/sagemath` which could mean
`~/sagemath` or `/opt/sagemath` or any location you chose),
then change to the Sage root folder by running
```
$ cd /path/to/sagemath
```
then run one of the following
```
$ ./sage  # for the Sage REPL
$ ./sage -n jupyter  # for the Jupyter notebook
$ ./sage -n sagenb  # for the SageNB notebook
```
Or place an alias to `sage` in an appropriate location
that is part of your PATH, for example by running
```
$ WHAT=/path/to/sagemath/sage
$ WHERE=/usr/local/bin
$ sudo ln -s $WHAT $WHERE
```
so that you can start Sage from anywhere using one of
```
$ sage  # for the Sage REPL
$ sage -n jupyter  # for the Jupyter notebook
$ sage -n sagenb  # for the SageNB notebook
```
(Note: the sagenb notebook will only work with
old Python2-based versions of Sage.)

Unless you have a good reason to use an old Python2-based
version of Sage I would suggest using a more recent,
Python3-based version of Sage, such as SageMath 9.2,
and using Jupyter rather than the legacy SageNB notebook
which is no longer maintained.
Reply all
Reply to author
Forward
0 new messages