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 ed71588
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions src/doc/en/installation/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,23 @@ 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:

$ conda activate sage
$ sage

Linux
=====
Expand Down

0 comments on commit ed71588

Please sign in to comment.