From 7103c6c4eddc363c07f7bc25d2a43ab23c966943 Mon Sep 17 00:00:00 2001 From: rekomodo Date: Thu, 8 Aug 2024 18:44:47 -0400 Subject: [PATCH] added WSL and Anaconda instructions --- docs/source/installation.rst | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/source/installation.rst b/docs/source/installation.rst index 94d512037..d9ed9e660 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -8,8 +8,31 @@ Installing FEniCS FESTIM requires FEniCS to run. FEniCS can be installed with Anaconda on MacOs and Linux. -In order to use the Anaconda distribution on Windows, use the `Windows Subsystem for Linux `_. -First `install Anaconda `_ then run the following commands:: +In order to use the Anaconda distribution on Windows, +use the `Windows Subsystem for Linux `_. + +.. tip:: + You can install `WSL `_ by running + :code:`wsl --install` on a command prompt window. + To launch into WSL, simply enter :code:`wsl`. + + `Visual Studio Code `_ is the recommended IDE to + use with Windows due to the + `WSL extension `_. + +First `install Anaconda `_, + +.. tip:: + + You can install Anaconda on most Linux distributions by entering:: + + curl -O https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh + bash ./Anaconda3-2024.06-1-Linux-x86_64.sh + + You can install other versions by replacing :code:`Anaconda3-2024.06-1-Linux-x86_64.sh` + with another from `the official repository `_. + +then run the following commands:: conda create -n festim-env conda activate festim-env