Skip to content

Commit

Permalink
added WSL and Anaconda instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
rekomodo committed Aug 8, 2024
1 parent 375c7b2 commit 7103c6c
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://learn.microsoft.com/en-us/windows/wsl/install>`_.
First `install Anaconda <https://docs.continuum.io/anaconda/install>`_ then run the following commands::
In order to use the Anaconda distribution on Windows,
use the `Windows Subsystem for Linux <https://learn.microsoft.com/en-us/windows/wsl/install>`_.

.. tip::
You can install `WSL <https://learn.microsoft.com/en-us/windows/wsl/install>`_ by running
:code:`wsl --install` on a command prompt window.
To launch into WSL, simply enter :code:`wsl`.

`Visual Studio Code <https://code.visualstudio.com/>`_ is the recommended IDE to
use with Windows due to the
`WSL extension <https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-wsl>`_.

First `install Anaconda <https://docs.continuum.io/anaconda/install>`_,

.. 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 <https://repo.anaconda.com/archive/>`_.

then run the following commands::

conda create -n festim-env
conda activate festim-env
Expand Down

0 comments on commit 7103c6c

Please sign in to comment.