This is an old revision of the document!
This page details the the conda-based versions of UV-CDAT, 2.8.0 and later installed by JYP
For versions up to 2.1, check the UV-CDAT versions installed by JYP
UV-CDAT requires a working version of Anaconda
cd /home/scratch01/jypeter
bash Miniconda2-latest-Linux-x86_64.sh
/home/share/unix_files/cdat/miniconda2
miniconda2
directory size is 118Mjypeter@asterix3 - ...versions - 51 >du -sh miniconda2/ 118M miniconda2/ jypeter@asterix3 - ...versions - 52 >cd miniconda2/ jypeter@asterix3 - ...miniconda2 - 54 >du -sh * 4.4M bin 268K conda-meta 4.0K envs 20K etc 3.8M include 99M lib 4.0K LICENSE.txt 23M pkgs 16K share 8.0K ssl
.bashrc
(note: the installer automatically creates a backup of .bashrc
)# added by Miniconda2 4.3.11 installer
export PATH=“/home/share/unix_files/cdat/miniconda2/bin:$PATH”
bash
and check if the python from the conda distribution has been correctly installedbash-4.1$ which python /home/share/unix_files/cdat/versions/miniconda2/bin/python bash-4.1$ conda list # packages in environment at /home/share/unix_files/cdat/versions/miniconda2: # cffi 1.9.1 py27_0 conda 4.3.11 py27_0 conda-env 2.6.0 0 cryptography 1.7.1 py27_0 [...]
/home/share/unix_files/cdat/miniconda2
~/.bash_profile
~/.condarc ~/.conda ~/.continuum
There is also a summary available in the Conda cheat sheet
conda --help
, conda -h
conda command --help
conda info –envs
conda env list
conda create --name new_environment package1 package2 packageN
conda create -n new_environment package1 package2 packageN
conda remove --name crap_environment --all
source activate existing_environment
source activate
will activate the root environmentsource deactivate
conda list
pip install package1 package2 packageN
!!conda search --full-name package_exact_name
conda search package_partial_name
-n target_environment
to act on another environment than the active oneconda install package1 package2 packageN
--channel channel_url_or_alias
to install from a specific sourceconda remove package1 package2 packageN
conda update conda