Additional Installation Configurations - CDAT/cdat GitHub Wiki
Partial Installation
If you're interested in a "cdat-lite", you can install just a few packages instead of everything:
conda create -n mycdms2 cdms2 -c conda-forge
will install just thecdms2
moduleconda create -n cdat_lite cdms2 cdutil -c conda-forge
will get you bothcdms2
andcdutil
.conda create -n myvcs vcs -c cdat/label/v8.2.1 -c conda-forge
will get you thevcs
module (along with CDMS2, which is one of its dependencies)
Conda environment
conda create -n [YOUR_ENV_NAME_HERE] -c cdat/label/v8.2.1 -c conda-forge python=3.6 cdat
conda activate [YOUR_ENV_NAME_HERE]
conda env list
list your available conda envsconda create -n [YOUR_ENV_NAME_HERE] --clone ENV
to clone an environment and add to it- To learn more about conda environments see: http://conda.pydata.org/docs/using/envs.html
Creating your own environment with additional packages
The beauty of conda is that it lets you create and add environments at will. You can create you own environment with whatever python package you fancy using the following command:
conda create -n [YOUR_ENV_NAME_HERE] -c cdat/label/v81 -c conda-forge cdat [YOUR_DESIRED_ADDITIONAL_PACKAGES_HERE]
Adding additional packages after the fact
Let's say you would like to add the jupyterhub
package after you installed CDAT.
Simply run (while in your environment):
conda activate [YOUR_ENV_NAME_HERE]
conda install jupyterhub -c conda-forge
Multi users environments
- see this page
Offline installation
- see this page