Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added WSL and Anaconda instructions #872

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading