Skip to content

Commit

Permalink
src/doc/en/installation/index.rst (Windows, no-dev): Copy conda insta…
Browse files Browse the repository at this point in the history
…ll instructions here
  • Loading branch information
Matthias Koeppe committed Jan 28, 2024
1 parent 3dd953c commit 5a92df5
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions src/doc/en/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,25 @@ Windows
Then go to the Microsoft Store and install Ubuntu (or another
Linux distribution). Start Ubuntu from the start menu.

On the Linux running on WSL, you always have root access, so you
can use any of the installation methods described below for
Linux.
In an Ubuntu (WSL) terminal, type the following commands to install
Sage from conda-forge.

.. code-block:: shell
$ curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh
$ sh Mambaforge-$(uname)-$(uname -m).sh
$ mamba create -n sage sage python=3.11
(If there are any installation failures, please report them to
the conda-forge maintainers by opening a `GitHub Issue for
conda-forge/sage-feedstock <https://github.com/conda-forge/sage-feedstock/issues>`_.)

You can now start SageMath as follows:

.. code-block:: shell
$ conda activate sage
$ sage
Linux
=====
Expand Down

0 comments on commit 5a92df5

Please sign in to comment.