other:uvcdat:conda_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:uvcdat:conda_notes [2017/02/21 12:01] – jypeter | other:uvcdat:conda_notes [2017/02/27 17:37] – Improved page jypeter | ||
---|---|---|---|
Line 2: | Line 2: | ||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
- | Check the [[.:cdat_conda|UV-CDAT conda-based versions installed by JYP]] page to see what is maintained by JYP | + | Check the [[.cdat_conda:index|UV-CDAT conda-based versions installed by JYP]] page to see what is maintained by JYP |
</ | </ | ||
- | Recent versions (2.8.0 and later?) of UV-CDAT are installed and maintained with the [[https:// | + | Versions |
===== What should I install? ===== | ===== What should I install? ===== | ||
- | * The difference between conda, Miniconda and Anaconda is detailed in the [[https:// | + | * The difference between |
* Installers with a '' | * Installers with a '' | ||
* any version of //conda// can install any version of Python (and UV-CDAT), and you can have several versions of Python (and UV-CDAT) installed at the same time | * any version of //conda// can install any version of Python (and UV-CDAT), and you can have several versions of Python (and UV-CDAT) installed at the same time | ||
* some parts of CDAT still need Python 2.7, so we will use the '' | * some parts of CDAT still need Python 2.7, so we will use the '' | ||
- | * You can do almost anything with conda, and you are only limited by [[# | + | * You can do almost anything with //conda//, and you are mostly |
- | * If you know that you are going to use UV-CDAT, you might as well use the '' | + | * If you know that you are going to use UV-CDAT, you might as well use the '' |
===== Miniconda ===== | ===== Miniconda ===== | ||
- | ==== Practicing with Miniconda ==== | + | <WRAP center round tip 60%> |
+ | Note: we have shown in [[.: | ||
+ | </ | ||
+ | |||
+ | Miniconda is basically just a self contained minimal Python distribution, | ||
+ | |||
+ | ==== Installing | ||
* Follow the [[https:// | * Follow the [[https:// | ||
- | * Get the [[https:// | + | * Get the [[https:// |
- | * '' | + | * '' |
* '' | * '' | ||
* Execute the installer | * Execute the installer | ||
* '' | * '' | ||
* Accept the license | * Accept the license | ||
- | * Specify an explicit installation path **outside of the home directory**, | + | * Specify an explicit installation path **outside of the home directory**, |
- | * Resulting '' | + | * Resulting '' |
118M miniconda2/ | 118M miniconda2/ | ||
- | jypeter@asterix3 - ...versions - 52 >cd miniconda2/ | + | > cd miniconda2/ |
- | jypeter@asterix3 - ...miniconda2 - 54 >du -sh * | + | > du -sh * |
4.4M bin | 4.4M bin | ||
268K conda-meta | 268K conda-meta | ||
Line 46: | Line 52: | ||
* ''# | * ''# | ||
* Open a new terminal (if you use bash) or type '' | * Open a new terminal (if you use bash) or type '' | ||
+ | * Update and clean the new installation | ||
+ | * '' | ||
+ | * '' | ||
* < | * < | ||
- | / | + | / |
+ | bash-4.1$ du -sh / | ||
+ | 114M / | ||
bash-4.1$ conda list | bash-4.1$ conda list | ||
- | # packages in environment at / | + | # packages in environment at / |
# | # | ||
cffi 1.9.1 py27_0 | cffi 1.9.1 py27_0 | ||
- | conda 4.3.11 py27_0 | + | conda 4.3.13 py27_0 |
conda-env | conda-env | ||
cryptography | cryptography | ||
Line 69: | Line 80: | ||
==== Installing Anaconda ==== | ==== Installing Anaconda ==== | ||
- | * Follow the [[https:// | + | * Follow the [[https:// |
* Installation package '' | * Installation package '' | ||
* Size after initial installation : 2G\\ < | * Size after initial installation : 2G\\ < | ||
Line 106: | Line 117: | ||
//conda// will use hard links and share packages common to several installed environments to minimize disk usage, but there is no harm in being careful and checking things! | //conda// will use hard links and share packages common to several installed environments to minimize disk usage, but there is no harm in being careful and checking things! | ||
- | * You should avoid installing conda //stuff// in your home directory ('' | + | * Because of the likely large disk space usage, you should avoid installing conda //stuff// in your home directory ('' |
* You should regularly monitor the size of the directories listed in '' | * You should regularly monitor the size of the directories listed in '' | ||
* '' | * '' | ||
Line 138: | Line 149: | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * You can use '' | ||
* '' | * '' | ||
* Installed packages | * Installed packages | ||
Line 144: | Line 156: | ||
* Searching packages | * Searching packages | ||
* '' | * '' | ||
+ | * See also the '' | ||
* Installing and removing packages\\ Add '' | * Installing and removing packages\\ Add '' | ||
* '' | * '' | ||
Line 153: | Line 166: | ||
* '' | * '' | ||
* conda does not automatically clean the content of the '' | * conda does not automatically clean the content of the '' | ||
- | * '' | + | * '' |
==== Misc ==== | ==== Misc ==== | ||
Line 159: | Line 172: | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// |
other/uvcdat/conda_notes.txt · Last modified: 2024/06/17 17:22 by jypeter