This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:uvcdat:conda_notes [2017/02/27 16:37] jypeter Improved page |
other:uvcdat:conda_notes [2018/03/14 14:27] jypeter [Misc] updated a link |
||
---|---|---|---|
Line 30: | Line 30: | ||
* Get the [[https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh|Python 2.7 Linux 64-bit (bash installer)]] (unless there is a [[https://conda.io/miniconda.html|more recent version?]]) | * Get the [[https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh|Python 2.7 Linux 64-bit (bash installer)]] (unless there is a [[https://conda.io/miniconda.html|more recent version?]]) | ||
* ''cd /home/scratch01/jypeter'' (some temporary storage space for the installer) | * ''cd /home/scratch01/jypeter'' (some temporary storage space for the installer) | ||
- | * ''wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh'' (28 Mo, 16 Feb 2017) | + | * ''wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh'' (28 Mo, 02 Aug 2017) |
* Execute the installer | * Execute the installer | ||
* ''bash Miniconda2-latest-Linux-x86_64.sh'' | * ''bash Miniconda2-latest-Linux-x86_64.sh'' | ||
Line 50: | Line 50: | ||
8.0K ssl</code> | 8.0K ssl</code> | ||
* Accept the automatic update of the //PATH// variable in ''.bashrc'' (note: the installer automatically creates a backup of ''.bashrc'') | * Accept the automatic update of the //PATH// variable in ''.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"'' | + | * ''# added by Miniconda2 4.3.21 installer''\\ ''export PATH="/home/share/unix_files/cdat/miniconda2/bin:$PATH"'' |
* Open a new terminal (if you use bash) or type ''bash'' and check if the python from the conda distribution has been correctly installed | * Open a new terminal (if you use bash) or type ''bash'' and check if the python from the conda distribution has been correctly installed | ||
* Update and clean the new installation | * Update and clean the new installation | ||
- | * ''conda updpate --all'' | + | * ''conda update %%--%%all'' |
- | * ''conda clean --all'' | + | * ''conda clean %%--%%all'' |
* <code>bash-4.1$ which python | * <code>bash-4.1$ which python | ||
/home/share/unix_files/cdat/miniconda2/bin/python | /home/share/unix_files/cdat/miniconda2/bin/python | ||
Line 165: | Line 165: | ||
* Updating conda (update the //conda// package, not the full Miniconda) | * Updating conda (update the //conda// package, not the full Miniconda) | ||
* ''conda update conda'' | * ''conda update conda'' | ||
+ | * Downgrading conda (required for installing UV-CDAT 2.10) | ||
+ | * <code>bash-4.1$ conda install -n root "conda<4.3.13" | ||
+ | Fetching package metadata ......... | ||
+ | Solving package specifications: . | ||
+ | |||
+ | Package plan for installation in environment /home/share/unix_files/cdat/miniconda2: | ||
+ | |||
+ | The following packages will be DOWNGRADED due to dependency conflicts: | ||
+ | |||
+ | conda: 4.3.13-py27_0 --> 4.3.11-py27_0 | ||
+ | |||
+ | Proceed ([y]/n)? y | ||
+ | |||
+ | conda-4.3.11-p 100% |###############################################################| Time: 0:00:00 4.28 MB/s | ||
+ | |||
+ | bash-4.1$ conda info | ||
+ | Current conda install: | ||
+ | |||
+ | platform : linux-64 | ||
+ | conda version : 4.3.11 | ||
+ | conda is private : False | ||
+ | conda-env version : 4.3.11</code> | ||
+ | |||
* conda does not automatically clean the content of the ''pkgs'' directory! Use the following to //Remove index cache, lock files, tarballs, unused cache packages, and source cache// | * conda does not automatically clean the content of the ''pkgs'' directory! Use the following to //Remove index cache, lock files, tarballs, unused cache packages, and source cache// | ||
* ''conda clean %%--%%all'' | * ''conda clean %%--%%all'' | ||
Line 175: | Line 198: | ||
* [[https://conda.io/docs/|conda Full documentation]] | * [[https://conda.io/docs/|conda Full documentation]] | ||
* [[https://conda.io/docs/faq.html|conda FAQ]] | * [[https://conda.io/docs/faq.html|conda FAQ]] | ||
- | * [[https://conda.io/docs/using/envs.html#share-an-environment|Sharing (replicating) an environment]] | + | * [[https://conda.io/docs/user-guide/tasks/manage-environments.html#sharing-an-environment|Sharing (replicating) an environment]] |
* [[https://conda.io/docs/install/central.html|Centralized installation]] | * [[https://conda.io/docs/install/central.html|Centralized installation]] | ||