1 | initial version |

Alternatively you can download the last version of sagemath from it official web, then 8after you have cleaned your not working installation of sage, say you have uninstalled it) you can do the following:

Extract the .tar or .zip to some folder, this would be the installation folder of sagemath

Install (if it is not already installed) jupyter, you can do it using conda or (better IMO) installing it directly in your system, what already have python installed.

Now you need to install the sage kernel to jupyter, you can do with this command in the terminal (assuming that jupyter is available in your path):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`folder-of-sage`

is the direction of the folder where you have extracted sage.Now run in the terminal

`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"folder-of-sage"}`

Finally save the file and close it.

And this is all. Now you can open jupyter (or jupyter lab) and find that the kernel of sage is installed and works correctly (to run jupyter you can run `jupyter lab`

in a terminal.)

2 | No.2 Revision |

Alternatively you can download the last version of sagemath from it official web, then ~~8after ~~(after you have cleaned your not working installation of sage, say you have uninstalled it) you can do the following:

Extract the .tar or .zip to some folder, this would be the installation folder of sagemath

Install (if it is not already installed) jupyter, you can do it using conda or (better IMO) installing it directly in your system, what already have python installed.

Now you need to install the sage kernel to jupyter, you can do with this command in the terminal (assuming that jupyter is available in your path):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`folder-of-sage`

is the direction of the folder where you have extracted sage.Now run in the terminal

`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"folder-of-sage"}`

Finally save the file and close it.

And this is all. Now you can open jupyter (or jupyter lab) and find that the kernel of sage is installed and works correctly (to run jupyter you can run `jupyter lab`

in a terminal.)

3 | No.3 Revision |

Alternatively you can download the last version of sagemath from it official web, then (after you have cleaned your not working installation of sage, say you have uninstalled it) you can do the following:

Extract the .tar or .zip that contains sage that you just had downloaded to some folder, this would be the installation folder of

~~sagemath~~sagemath.Install (if it is not already installed) jupyter, you can do it using conda or (better IMO) installing it directly in your system, what already have python installed.

Now you need to install the sage kernel to jupyter, you can do with this command in the terminal (assuming that jupyter is available in your path):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`folder-of-sage`

is the direction of the folder where you have extracted sage.Now run in the terminal

`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"folder-of-sage"}`

Finally save the file and close it.

And this is all. Now you can open jupyter (or jupyter lab) and find that the kernel of sage is installed and works correctly (to run jupyter you can run `jupyter lab`

in a terminal.)

4 | No.4 Revision |

Alternatively you can download the last version of sagemath from it official web, then (after you have cleaned your not working installation of sage, say you have uninstalled it) you can do the following:

Extract the .tar or .zip that contains sage that you just had downloaded to some folder, this would be the installation folder of sagemath.

Now you need to install the sage kernel to jupyter, you can do it with this command in the terminal (assuming that jupyter is available in your path):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`folder-of-sage`

is the direction of the folder where you have extracted sage.`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"folder-of-sage"}`

Finally save the file and close it.

`jupyter lab`

in a terminal.)

5 | No.5 Revision |

Alternatively you can download the last version of sagemath from it official web, then (after you have cleaned your not working installation of sage, say you have uninstalled it) you can do the following:

Extract the .tar or .zip that contains sage that you just had downloaded to some folder, this would be the installation folder of sagemath.

Now you need to install the sage kernel to jupyter, you can do it with this command in the terminal (assuming that jupyter is available in your path):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

is the direction of the folder where you have extracted sage.~~folder-of-sage~~/folder-of-sage`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

~~,"env":{"SAGE_ROOT":"folder-of-sage"}~~,"env":{"SAGE_ROOT":"/folder-of-sage"}Finally save the file and close it.

`jupyter lab`

in a terminal.)

6 | No.6 Revision |

Extract the

~~.tar or .zip~~file that contains sage~~that you just had downloaded~~to some folder, this would be the installation folder of sagemath.Now you need to install the sage kernel to jupyter, you can do it with this command in the terminal (assuming that jupyter is available in your path):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`/folder-of-sage`

is the direction of the folder where you have extracted sage.`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"/folder-of-sage"}`

Finally save the file and close it.

`jupyter lab`

in a terminal.)

7 | No.7 Revision |

Extract the file that contains sage to some folder, this would be the installation folder of sagemath.

Install (if it is not already installed)

~~jupyter, you can do it using conda or (better IMO) installing it directly in your system, what already have python installed.~~jupyter.`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`/folder-of-sage`

is the direction of the folder where you have extracted sage.`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"/folder-of-sage"}`

Finally save the file and close it.

`jupyter lab`

in a terminal.)

8 | No.8 Revision |

Extract the file that contains sage to some folder, this would be the installation folder of sagemath.

Install (if it is not already installed) jupyter.

Now you need to

~~install~~add the sage kernel to~~jupyter, you can do it with~~jupyter running this command in the terminal (assuming that jupyter is available in your path):`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`/folder-of-sage`

is the direction of the folder where you have extracted sage.`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"/folder-of-sage"}`

Finally save the file and close it.

`jupyter lab`

in a terminal.)

9 | No.9 Revision |

Extract the file that contains sage to some folder, this would be the installation folder of sagemath.

Install (if it is not already installed) jupyter.

Now you need to add the sage kernel to jupyter running this command in the terminal (assuming that jupyter is available in your

~~path):~~PATH):`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`/folder-of-sage`

is the direction of the folder where you have extracted sage.`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and in the kernel.json file that you will find there open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"/folder-of-sage"}`

Finally save the file and close it.

`jupyter lab`

in a terminal.)

10 | No.10 Revision |

Install (if it is not already installed) jupyter.

Now you need to add the sage kernel to jupyter running this command in the terminal (assuming that jupyter is available in your PATH):

`jupyter kernelspec install --user /folder-of-sage/local/share/jupyter/kernels/sagemath`

where

`/folder-of-sage`

is the direction of the folder where you have extracted sage.Now run in the terminal

`jupyter kernelspec list`

, this gives a list of the installed kernels of jupyter and the folder where each kernel was installed. Then open the folder where the kernel of sage was installed and~~in~~the kernel.json file that you will find~~there~~there, open it with some text editor and add the following just before the last`}`

`,"env":{"SAGE_ROOT":"/folder-of-sage"}`

Finally save the file and close it.

`jupyter lab`

in a terminal.)

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.