Skip to content

Commit 6b1368d

Browse files
JacksonBurnsrwest
authored andcommitted
Force desired channel resolution order in binary install
Resolves #2875 using the solution proposed therein. @calvinp0 could you take a look and make sure I got this right? @rwest could you also take a quick look at this?
1 parent ecd1def commit 6b1368d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

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

1010
#. 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 --name rmg_env 'rmg::rmg'
12+
conda create -n rmg_env -c conda-forge -c rmg rmg
1313

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

@@ -19,7 +19,7 @@ Binary Installation Using Anaconda for Unix-Based Systems: Linux and Mac OSX
1919
2020
To install a specific version of RMG, add the version to the install command::
2121

22-
conda create --name rmg_33_env 'rmg::rmg==3.3.0'
22+
conda create --name rmg_33_env -c conda-forge -c rmg 'rmg==3.3.0'
2323
2424
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.
2525

@@ -36,11 +36,11 @@ Updating your binary installation of RMG in Linux or Mac OSX
3636

3737
If you had previously installed a binary version of the RMG package and wish to update to a newer version, we suggest creating a new conda environment and installing the updated version there ::
3838

39-
conda create --name rmg_xyz_env 'rmg::rmg==x.y.z'
39+
conda create --name rmg_xyz_env -c conda-forge -c rmg 'rmg==x.y.z'
4040

4141
It is also possible, though not advisable, to update your existing installation to the latest stable version available on Anaconda by typing the following command on the terminal ::
4242

4343
source activate rmg_env
44-
conda update 'rmg::rmg'
44+
conda update -c conda-forge -c rmg rmg
4545

4646
Doing this may break any other code present in the conda environment and RMG may not function correctly. If you attempt this update method and face issues, please attempt to install the new version of RMG in a new conda environment before reaching out for assistance.

0 commit comments

Comments
 (0)