User Tools

Site Tools


other:uvcdat:cdat_conda:miniconda3_install

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
other:uvcdat:cdat_conda:miniconda3_install [2025/07/24 16:19] – [Why should you use Miniconda3 ?] Mention Miniforge3 jypeterother:uvcdat:cdat_conda:miniconda3_install [2025/07/29 16:36] (current) – [Installation history] Updated the examples jypeter
Line 601: Line 601:
   * [[https://github.com/conda/conda|conda @ GitHub]]   * [[https://github.com/conda/conda|conda @ GitHub]]
  
-  * Package repositories+  * [[https://conda.org/blog/2024-08-14-conda-ecosystem-explained#conda-package-repository-and-channels|Package repositories]]
     * [[https://conda-forge.org/packages/|conda-forge]] <= recommended source of packages     * [[https://conda-forge.org/packages/|conda-forge]] <= recommended source of packages
     * [[https://anaconda.org/|default]]     * [[https://anaconda.org/|default]]
Line 622: Line 622:
   * **Available environments**   * **Available environments**
     * ''conda env list''     * ''conda env list''
 +      * Same as ''conda info --envs''
     * The currently active environment has a "*****" character on its line<code>(base) $ conda env list     * The currently active environment has a "*****" character on its line<code>(base) $ conda env list
 # conda environments: # conda environments:
Line 679: Line 680:
   * **Delete an environment**   * **Delete an environment**
     * ''conda remove -n crap_environment %%--%%all''     * ''conda remove -n crap_environment %%--%%all''
 +      * This will remove all packages of ''crap_environment'' and the ''crap_environment'' environment itself
  
   * **Find out if a package is available** on the //conda-forge// channel (or other channels)   * **Find out if a package is available** on the //conda-forge// channel (or other channels)
Line 695: Line 697:
     * **Specific versions can be specified** by using the [[#the_conda_matchspec_format|conda MatchSpec format]]     * **Specific versions can be specified** by using the [[#the_conda_matchspec_format|conda MatchSpec format]]
     * ''conda remove package1 package2 packageN''     * ''conda remove package1 package2 packageN''
 +      * Same as ''conda //uninstall// package1 package2 packageN''
     * Matching ''pip'' commands (**only** if the package is not available in conda!)     * Matching ''pip'' commands (**only** if the package is not available in conda!)
       * ''pip install package''       * ''pip install package''
Line 787: Line 790:
     * ''base'' history file: ''/path_to_miniconda/conda-meta/history''     * ''base'' history file: ''/path_to_miniconda/conda-meta/history''
     * ''existing_environment'' history file: ''/path_to_miniconda/envs/existing_environment/conda-meta/history''     * ''existing_environment'' history file: ''/path_to_miniconda/envs/existing_environment/conda-meta/history''
-    * e.g. installation commands for the ''base'' environment:\\ <code> $ egrep -e 'cmd:' -e '==>' /homedata/jypmce/miniconda3_2024-03/conda-meta/history +    * e.g. installation commands for the ''base'' environment:\\ <code>$egrep -e 'cmd:' -e '==>' /home/share/unix_files/cdat/miniconda3_2024-03/conda-meta/history
 ==> 2024-02-23 18:39:23 <== ==> 2024-02-23 18:39:23 <==
 # cmd: constructor /tmp/tmp.4um5tGKcqW/miniconda3/ --output-dir /tmp/tmp.4um5tGKcqW # cmd: constructor /tmp/tmp.4um5tGKcqW/miniconda3/ --output-dir /tmp/tmp.4um5tGKcqW
-==> 2024-03-27 16:10:01 <== +==> 2024-03-27 16:13:08 <== 
-# cmd: /homedata/jypmce/miniconda3_2024-03/bin/conda update -n base --all +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda update -n base --all 
-==> 2024-03-28 11:38:08 <== + 
-[...] +[ ... ] 
-==> 2024-04-24 17:47:32 <== + 
-# cmd: /homedata/jypmce/miniconda3_2024-03/bin/conda update -n base --all</code>+==> 2025-07-24 17:10:51 <== 
 +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda update -n base --all 
 +==> 2025-07-28 17:05:44 <== 
 +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda update -n base --all</code> 
 +    * e.ginstallation commands for a more complex //work// environment (once the ''base'' environment is available):\\ <code>$ egrep -e 'cmd:' -e '==>' /home/share/unix_files/cdat/miniconda3_2024-03/envs/bauer_env/conda-meta/history 
 +==> 2024-06-18 11:16:12 <== 
 +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda create -n bauer_env xcdat 
 +==> 2024-06-18 11:25:14 <== 
 +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda install cartopy cmocean 
 + 
 +[ ... lots of extra packages and updates ... ] 
 + 
 +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda update -n bauer_env --all numpy<2.3 
 +==> 2025-07-29 16:18:44 <== 
 +# cmd: /home/share/unix_files/cdat/miniconda3_2024-03/bin/conda install -n bauer_env rpy2</code>
     * You can also, use a script and the ''conda'' module available **in the ''base'' environment**: [[https://github.com/conda/conda/issues/4545#issuecomment-469984684|example]]     * You can also, use a script and the ''conda'' module available **in the ''base'' environment**: [[https://github.com/conda/conda/issues/4545#issuecomment-469984684|example]]
  
other/uvcdat/cdat_conda/miniconda3_install.1753366785.txt.gz · Last modified: by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki