Skip to content

Commit b15c601

Browse files
JacksonBurnsjonwzheng
authored andcommitted
update conda-based installation instructions
1 parent 67d12d0 commit b15c601

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

documentation/source/users/rmg/installation/anacondaUser.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,21 @@ Binary Installation Using Anaconda for Unix-Based Systems: Linux and Mac OSX
77

88
#. Install the `conda` package manager via `miniforge`, if you do not already have it (or Anaconda), by following the `Miniforge installation instructions <https://github.com/conda-forge/miniforge?tab=readme-ov-file#install>`_.
99

10-
#. Install both RMG and the RMG-database binaries through the terminal. Dependencies will be installed automatically. It is safest to make a new conda environment for RMG and its dependencies. Type the following command into the terminal to create the new environment named 'rmg_env' containing the latest stable version of the RMG program and its database. ::
10+
#. Install both RMG and the RMG-database binaries through the terminal. Dependencies will be installed automatically. It is safest to make a new conda environment for RMG and its dependencies. Type the following command into the terminal to create the new environment named 'rmg_env' containing the latest stable version of the RMG program and its database. ::
1111

12-
conda create -c defaults -c rmg -c rdkit -c cantera -c pytorch -c conda-forge --name rmg_env rmg rmgdatabase
12+
conda create --name rmg_env 'rmg::rmg'
1313

1414
Whenever you wish to use it you must first activate the environment::
1515

1616
conda activate rmg_env
1717

1818
For more information about using conda, please check out the `conda user guide <https://conda.io/projects/conda/en/latest/user-guide/getting-started.html>`_.
19+
20+
To install a specific version of RMG, add the version to the install command::
21+
22+
conda create --name rmg_33_env 'rmg::rmg==3.3.0'
23+
24+
Not all versions of RMG are available via conda for all platforms. Check the `official RMG conda channel <https://anaconda.org/RMG/rmg/files>`_ to see which are available for download.
1925

2026
#. You may now run an RMG test job. Save the `Minimal Example Input File <https://raw.githubusercontent.com/ReactionMechanismGenerator/RMG-Py/master/examples/rmg/minimal/input.py>`_
2127
to a local directory. Use the terminal to run your RMG job inside that folder using the following command ::
@@ -70,4 +76,4 @@ If you had previously installed a binary version of the RMG package, you may
7076
check and update your installation to the latest stable version available on Anaconda by typing the following command on the terminal ::
7177

7278
source activate rmg_env
73-
conda update rmg rmgdatabase -c rmg
79+
conda update 'rmg::rmg'

0 commit comments

Comments
 (0)