@@ -14,9 +14,10 @@ may have become available afterwards and can be found in the section
14
14
`release tour <https://wiki.sagemath.org/ReleaseTours >`_ for each
15
15
SageMath release.
16
16
17
- **Where would you like to run SageMath? **
17
+ **Where would you like to run SageMath? ** Pick one of the following sections.
18
18
19
- **On Linux: **
19
+ macOS
20
+ =====
20
21
21
22
- **Do you want to do SageMath development? **
22
23
@@ -34,27 +35,57 @@ SageMath release.
34
35
these describe an experimental method that gets all required
35
36
packages, including Python packages, from conda-forge.
36
37
37
- - No development: **Do you have root access (sudo)? **
38
-
39
- - **Yes, root access: ** Then the easiest way to install SageMath is
40
- through a Linux distribution that provides it as a package. Most
41
- major Linux distributions have up-to-date versions of SageMath,
42
- see `repology.org: sagemath
43
- <https://repology.org/project/sagemath/versions> `_ for an
44
- overview. See :ref: `sec-GNU-Linux ` for additional information.
38
+ - **No development: **
45
39
46
- If you are on an older version of your distribution and a recent
47
- version of SageMath is only available on a newer version of the
48
- distribution, consider upgrading your distribution.
40
+ - Install the `binary build of SageMath <https://github.com/3-manifolds/Sage_macOS/releases >`_
41
+ from the 3-manifolds project. It is a signed and notarized app, which
42
+ works for macOS 10.12 and newer. It is completely self-contained and
43
+ provides the standard Sage distribution together with many optional
44
+ packages. Additional optional Python packages can be installed with the
45
+ ``%pip `` magic command and will go into your ``~/.sage `` directory.
49
46
50
- - ** No root access: ** Install SageMath from the `conda-forge
47
+ - Alternatively, install SageMath from the `conda-forge
51
48
<https://conda-forge.org/> `_ project, as described in section
52
49
:ref: `sec-installation-conda `.
53
50
54
51
- Alternatively, build SageMath from source as described in section
55
52
:ref: `sec-installation-from-sources `.
56
53
57
- **On macOS: **
54
+ Windows
55
+ =======
56
+
57
+ - **Do you want to do SageMath development? **
58
+
59
+ - **Yes, development: **
60
+
61
+ Enable Windows Subsystem for Linux (WSL) by following the
62
+ `official WSL setup guide
63
+ <https://docs.microsoft.com/en-us/windows/wsl/install-win10> `_. Be
64
+ sure to do the steps to install WSL2 and set it as default.
65
+ Then go to the Microsoft Store and install Ubuntu (or another
66
+ Linux distribution). Start Ubuntu from the start menu.
67
+
68
+ Then follow the instructions for development on Linux below.
69
+
70
+ - **No development: **
71
+
72
+ - Enable Windows Subsystem for Linux (WSL) by following the
73
+ `official WSL setup guide
74
+ <https://docs.microsoft.com/en-us/windows/wsl/install-win10> `_. Be
75
+ sure to do the steps to install WSL2 and set it as default.
76
+ Then go to the Microsoft Store and install Ubuntu (or another
77
+ Linux distribution). Start Ubuntu from the start menu.
78
+
79
+ On the Linux running on WSL, you always have root access, so you
80
+ can use any of the installation methods described below for
81
+ Linux.
82
+
83
+ - Alternatively, in particular if you cannot use WSL, install
84
+ `Cygwin <https://cygwin.com/ >`_ and then build SageMath from source
85
+ as described in section :ref: `sec-installation-from-sources `.
86
+
87
+ Linux
88
+ =====
58
89
59
90
- **Do you want to do SageMath development? **
60
91
@@ -72,47 +103,34 @@ SageMath release.
72
103
these describe an experimental method that gets all required
73
104
packages, including Python packages, from conda-forge.
74
105
75
- - ** No development: **
106
+ - No development: ** Do you have root access (sudo)? **
76
107
77
- - Install the `binary build of SageMath <https://github.com/3-manifolds/Sage_macOS/releases >`_
78
- from the 3-manifolds project. It is a signed and notarized app.
79
- You can choose between two options: A 800 MB disk image with the standard Sage distribution,
80
- and a 1 GB disk image that adds many optional packages.
108
+ - **Yes, root access: ** Then the easiest way to install SageMath is
109
+ through a Linux distribution that provides it as a package. Most
110
+ major Linux distributions have up-to-date versions of SageMath,
111
+ see `repology.org: sagemath
112
+ <https://repology.org/project/sagemath/versions> `_ for an
113
+ overview. See :ref: `sec-GNU-Linux ` for additional information.
81
114
82
- - Alternatively, install SageMath from the `conda-forge
83
- <https://conda-forge.org/> `_ project, as described in section
115
+ If you are on an older version of your distribution and a recent
116
+ version of SageMath is only available on a newer version of the
117
+ distribution, consider upgrading your distribution.
118
+ In particular, do not install a version of Sage older than 9.2.
119
+
120
+ - **No root access, or on an older distribution ** Install SageMath from
121
+ the `conda-forge <https://conda-forge.org/ >`_ project, as described in section
84
122
:ref: `sec-installation-conda `.
85
123
86
124
- Alternatively, build SageMath from source as described in section
87
125
:ref: `sec-installation-from-sources `.
88
126
89
- **On Windows: **
90
-
91
- - **Do you want to do SageMath development? **
92
-
93
- - **Yes, development: **
94
-
95
- Enable Windows Subsystem for Linux (WSL), selecting any Linux
96
- distribution, for example Ubuntu. Then follow the instructions for
97
- development on Linux.
98
-
99
- - **No development: **
100
-
101
- - Enable Windows Subsystem for Linux (WSL), selecting any Linux
102
- distribution, for example Ubuntu. On the Linux running on WSL,
103
- you always have root access, so you can use any of the
104
- installation methods described above for Linux.
105
-
106
- - Alternatively, in particular if you cannot use WSL, install
107
- `Cygwin <https://cygwin.com/ >`_ and then build SageMath from source
108
- as described in section :ref: `sec-installation-from-sources `.
109
-
110
- **In the cloud: **
127
+ In the cloud
128
+ ============
111
129
112
130
- `CoCalc <https://cocalc.com/ >`_: an online service that provides SageMath and
113
131
many other tools.
114
132
115
- - On any system that can allows you to bring your own Docker images to run in
133
+ - On any system that allows you to bring your own Docker images to run in
116
134
a container: Use the `Docker image sagemath/sagemath <https://hub.docker.com/r/sagemath/sagemath/ >`_.
117
135
118
136
- `Sage Cell Server <https://sagecell.sagemath.org/ >`_: an online service for
0 commit comments