From 5a92df5a887b2b4fa7103bcf645f65942befe7d4 Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Sun, 28 Jan 2024 13:54:38 -0800 Subject: [PATCH] src/doc/en/installation/index.rst (Windows, no-dev): Copy conda install instructions here --- src/doc/en/installation/index.rst | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/src/doc/en/installation/index.rst b/src/doc/en/installation/index.rst index be680fceea8..0036efb2ab9 100644 --- a/src/doc/en/installation/index.rst +++ b/src/doc/en/installation/index.rst @@ -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 `_.) + + You can now start SageMath as follows: + + .. code-block:: shell + + $ conda activate sage + $ sage Linux =====