@@ -9,74 +9,72 @@ objectives:
99- " Install ESMValTool"
1010- " Demonstrate that the installation was successful"
1111keypoints :
12- - " All the required packages can be installed using conda"
13- - " You can find more information about installation in the documentation"
12+ - " All the required packages can be installed using conda."
13+ - " You can find more information about installation in the
14+ [documentation](https://docs.esmvaltool.org/en/latest/quickstart/installation.html)."
1415---
1516## Overview
1617
17- In this tutorial we will be using the
18- [ Conda] ( https://conda.io/projects/conda/en/latest/index.html ) package manager to
18+ The instructions help with the installation of ESMValTool on operating systems
19+ like Linux/MacOSX/Windows.
20+ We use the [ Conda] ( https://conda.io/projects/conda/en/latest/index.html )
21+ package manager to
1922install the ESMValTool. Other installation methods are also available, they can
2023be found in the
2124[ documentation] ( https://docs.esmvaltool.org/en/latest/quickstart/installation.html ) .
2225We will first install Conda, and then ESMValTool. We end this chapter by testing
2326that the installation was successful.
2427
25- ## Install Conda
26-
27- ESMValTool is distributed using [ Conda] ( https://conda.io/ ) . We will be using the
28- Miniconda minimal installer for conda. We suggest a Python 3 based installer,
29- though if you happen to already have Conda installed it should also work with
30- Python 2. For more information about installing conda, see [ the conda
31- installation
32- documentation] ( https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html ) .
28+ > ## Install ESMValTool on Windows
29+ >
30+ > ESMValTool does not directly support Windows, but successful usage has been
31+ > reported through the [ Windows Subsystem for
32+ > Linux(WSL)] ( https://docs.microsoft.com/en-us/windows/wsl/ ) ,
33+ > available in Windows 10.
34+ > To install the WSL please follow the instructions [ on the Windows Documentation
35+ > page] ( https://docs.microsoft.com/en-us/windows/wsl/install-win10 ) .
36+ > After installing the WSL, installation can be done using the same instructions for
37+ > [ Linux/MacOSX] ( #install-esmvaltool-on-linuxmacosx ) .
38+ {: .callout}
3339
34- ### Linux
40+ ## Install ESMValTool on Linux/MacOSX
3541
36- 1 . Please download Miniconda3 by running:
42+ ### Install Conda
3743
38- ``` bash
39- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
40- ```
44+ ESMValTool is distributed using [ Conda] ( https://conda.io/ ) .
45+ Let's check if we already have Conda installed by running:
4146
42- It is also possible to download Miniconda3 for Linux on the [miniconda page](https://docs.conda.io/en/latest/miniconda.html). If you have problems with the 64 bit version in the next step(s) you can alternatively try a 32 bit version.
47+ ``` bash
48+ conda list
49+ ```
4350
44- 2. Next, run the installer from the place where you downloaded it
51+ If conda is installed, we will see a list of packages.
52+ We recommend updating conda before esmvaltool installation. To do so, run:
4553
46- ` ` ` bash
47- bash Miniconda3-latest-Linux-x86_64.sh
48- ` ` `
54+ ``` bash
55+ conda update -n base conda
56+ ```
4957
50- 3. Follow the instructions in the installer. The defaults should normally
51- suffice.
58+ If conda is ** not** installed, we can use Miniconda minimal installer for conda.
59+ We recommend a Python 3 based installer. For more information about installing conda,
60+ see [ the conda installation documentation] ( https://docs.conda.io/projects/conda/en/latest/user-guide/install/index.html ) .
5261
53- 4. You will need to restart your terminal for the changes to have effect.
62+ To install conda on `` Linux `` or `` MacOSX `` , follow the instructions below:
5463
55- 5. Verify you have a working conda installation by listing all installed
56- packages
64+ 1 . Please download Miniconda3 at [ the miniconda
65+ page] ( https://docs.conda.io/en/latest/miniconda.html ) .
66+ If you have problems with the 64 bit version in the next step(s)
67+ you can alternatively try a 32 bit version.
5768
58- ` ` ` bash
59- conda list
60- ` ` `
69+ 2 . Next, run the installer from the place where you downloaded it:
6170
62- Should output something like
71+ On `` Linux `` :
6372
73+ ``` bash
74+ bash Miniconda3-latest-Linux-x86_64.sh
6475 ```
65- # packages in environment at ~/miniconda3:
66- #
67- # Name Version Build Channel
68- ...
69- conda 4.8.3 py37_0
70- ...
71- ` ` `
72- {: .output}
7376
74- # ## MacOSX
75-
76- 1. Please download Miniconda3 for MacOSX at [the miniconda
77- page](https://docs.conda.io/en/latest/miniconda.html).
78-
79- 2. Next, run the installer from the place where you downloaded it
77+ On ` ` MacOSX` ` :
8078
8179 ` ` ` bash
8280 bash Miniconda3-latest-MacOSX-x86_64.sh
@@ -94,33 +92,7 @@ It is also possible to download Miniconda3 for Linux on the [miniconda page](htt
9492 conda list
9593 ` ` `
9694
97- Should output something like
98-
99- ` ` `
100- # packages in environment at ~/miniconda3:
101- #
102- # Name Version Build Channel
103- ...
104- conda 4.8.3 py37_0
105- ...
106- ` ` `
107- {: .output}
108-
109-
110- # ## Windows
111-
112- ESMValTool does not directly support Windows, but succesful usage has been
113- reported through the [Windows Subsystem for
114- Linux(WSL)](https://docs.microsoft.com/en-us/windows/wsl/), available in Windows
115- 10.
116-
117- To install the WSL please follow the instructions [on the Windows Documentation
118- page](https://docs.microsoft.com/en-us/windows/wsl/install-win10).
119-
120- After installing the WSL, installation can be done using the Linux installation
121- instructions.
122-
123- # # Install Julia
95+ # ## Install Julia
12496
12597Some ESMValTool diagnostics are written in the Julia programming language.
12698If you want a full installation of ESMValTool including Julia diagnostics, you need
@@ -195,7 +167,7 @@ installation page](https://julialang.org/downloads/platform/#linux_and_freebsd).
195167> to start the interactive Julia interpreter. Press `Ctrl+D` to exit.
196168{: .solution}
197169
198- ## Install the ESMValTool package
170+ ### Install the ESMValTool package
199171
200172The ESMValTool package contains diagnostics scripts in four languages: R,
201173Python, Julia and NCL. This introduces a lot of dependencies, and therefore the
@@ -221,9 +193,8 @@ environment](https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/man
221193called `esmvaltool`, with the ESMValTool-Python package and all of its dependencies
222194installed in it.
223195
224- > ## Conda common problems
225- >
226- > Below are some common problems that could happen while installing.
196+
197+ > ## Common issues
227198>
228199> - Installation takes long time
229200> - Downloads and compilations can take several minutes to complete,
@@ -236,10 +207,12 @@ installed in it.
236207> - Downloads fail due to company proxy, see [conda
237208> docs](https://docs.anaconda.com/anaconda/user-guide/tasks/proxy/) how to
238209> resolve
210+ > - On ``MacOSX``, installation only works fine for ``esmvaltool-python`` and
211+ > ``esmvaltool-ncl`` with Python 3.7.
239212>
240213{: .callout}
241214
242- ## Test that the installation was successful
215+ ### Test that the installation was successful
243216
244217To test that the installation was successful, run
245218
0 commit comments