From 3e3756dafdbce2f1ce31859bfc40666306670376 Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 1 Mar 2024 17:03:46 -0500 Subject: [PATCH 1/2] Added note for WSL users about libxrender1 dependency --- .../users/rmg/installation/anacondaDeveloper.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/documentation/source/users/rmg/installation/anacondaDeveloper.rst b/documentation/source/users/rmg/installation/anacondaDeveloper.rst index 4a79244d0c2..7f861873a06 100644 --- a/documentation/source/users/rmg/installation/anacondaDeveloper.rst +++ b/documentation/source/users/rmg/installation/anacondaDeveloper.rst @@ -26,7 +26,7 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux Note that you should reinitialize or restart your terminal in order for the changes to take effect, as the installer will tell you. #. There are a few system-level dependencies which are required and should not be installed via Conda. These include - `Git `_ for version control, `GNU Make `_, and the C and C++ compilers from the `GNU Compiler Collection (GCC) `_ for compiling RMG. + `Git `_ for version control, `GNU Make `_, and the C and C++ compilers from the `GNU Compiler Collection (GCC) `_ for compiling RMG. For WSL users, `libxrender1 `_ may also need to be installed. For Linux users, you can check whether these are already installed by simply calling them via the command line, which will let you know if they are missing. To install any missing packages, you should use the appropriate package manager @@ -34,21 +34,21 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux a. On Ubuntu and Debian the package manager is ``apt`` :: - sudo apt install git gcc g++ make + sudo apt install git gcc g++ make libxrender1 b. On Fedora and Red Hat derivatives (RHEL 8+) the package manager is ``dnf`` :: - sudo dnf install git gcc gcc-c++ make + sudo dnf install git gcc gcc-c++ make libxrender1 c. For Red Hat 7 and lower, replace ``dnf`` with ``yum`` in the preceding. d. On openSUSE the package manager is ``zypper``:: - sudo zypper install git gcc gcc-c++ make + sudo zypper install git gcc gcc-c++ make libxrender1 e. On Manjaro or Arch Linux the package manager is ``pacman`` :: - sudo pacman -S git gcc make + sudo pacman -S git gcc make libxrender1 f. For MacOS users, the above packages can be easily obtained by installing the XCode Command Line Tools. These are a set of packages relevant for software development which have been bundled together by Apple. From 1bcad04e5749943fbe5ce0b31f6632a719844609 Mon Sep 17 00:00:00 2001 From: Nicholas Tietje Date: Mon, 11 Mar 2024 08:35:07 -0400 Subject: [PATCH 2/2] removed libxrender1 from all installation commands except wsl/debian --- .../source/users/rmg/installation/anacondaDeveloper.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/source/users/rmg/installation/anacondaDeveloper.rst b/documentation/source/users/rmg/installation/anacondaDeveloper.rst index 7f861873a06..a9bdf113718 100644 --- a/documentation/source/users/rmg/installation/anacondaDeveloper.rst +++ b/documentation/source/users/rmg/installation/anacondaDeveloper.rst @@ -38,17 +38,17 @@ Installation by Source Using Anaconda Environment for Unix-based Systems: Linux b. On Fedora and Red Hat derivatives (RHEL 8+) the package manager is ``dnf`` :: - sudo dnf install git gcc gcc-c++ make libxrender1 + sudo dnf install git gcc gcc-c++ make c. For Red Hat 7 and lower, replace ``dnf`` with ``yum`` in the preceding. d. On openSUSE the package manager is ``zypper``:: - sudo zypper install git gcc gcc-c++ make libxrender1 + sudo zypper install git gcc gcc-c++ make e. On Manjaro or Arch Linux the package manager is ``pacman`` :: - sudo pacman -S git gcc make libxrender1 + sudo pacman -S git gcc make f. For MacOS users, the above packages can be easily obtained by installing the XCode Command Line Tools. These are a set of packages relevant for software development which have been bundled together by Apple.