Skip to content

Commit

Permalink
Doc: Conda -y Install Block (#4776)
Browse files Browse the repository at this point in the history
* Doc: Update libmamba Usage in Conda

* Fix: The configuration key changed slightly.
* Cosmetic: Adding `-y` ensures one can execute the whole
            block at once.

* `solver` is the new (conda>=23) key!

* Fix: Double backticks for verbatim
  • Loading branch information
ax3l authored Mar 14, 2024
1 parent 41983ae commit 2630be8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Docs/source/install/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ Conda (Linux/macOS/Windows)

.. code-block:: bash
conda update -n base conda
conda install -n base conda-libmamba-solver
conda update -y -n base conda
conda install -y -n base conda-libmamba-solver
conda config --set solver libmamba
We recommend to deactivate that conda self-activates its ``base`` environment.
Expand Down
6 changes: 3 additions & 3 deletions Docs/source/install/users.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ A package for WarpX is available via the `Conda <https://conda.io>`_ package man

.. tip::

We recommend to configure your conda to use the faster `libmamba` `dependency solver <https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community>`__.
We recommend to configure your conda to use the faster ``libmamba`` `dependency solver <https://www.anaconda.com/blog/a-faster-conda-for-a-growing-community>`__.

.. code-block:: bash
conda update -n base conda
conda install -n base conda-libmamba-solver
conda update -y -n base conda
conda install -y -n base conda-libmamba-solver
conda config --set solver libmamba
We recommend to deactivate that conda self-activates its ``base`` environment.
Expand Down

0 comments on commit 2630be8

Please sign in to comment.