This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
other:uvcdat:conda_notes [2019/03/13 13:26] jypeter Added the history section |
other:uvcdat:conda_notes [2024/06/17 15:22] jypeter [Installing and maintaining UV-CDAT with conda] Added out-of-date warning |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing and maintaining UV-CDAT with conda ====== | ====== Installing and maintaining UV-CDAT with conda ====== | ||
+ | |||
+ | <WRAP center round alert 60%> | ||
+ | **This is an out-of-date legacy page!** | ||
+ | |||
+ | You should use the [[other:uvcdat:cdat_conda:miniconda3_install|JYP steps for installing Miniconda3]] page to get recent ''conda''/Miniconda/Anaconda information | ||
+ | </WRAP> | ||
+ | |||
<WRAP center round tip 60%> | <WRAP center round tip 60%> | ||
Line 17: | Line 24: | ||
* If you know that you are going to use UV-CDAT, you might as well use the ''conda'' from //Miniconda// to avoid uselessly duplicating packages downloaded from the official Anaconda repository (used by Anaconda) with the same packages downloaded from the conda-forge repository (used by UV-CDAT). | * If you know that you are going to use UV-CDAT, you might as well use the ''conda'' from //Miniconda// to avoid uselessly duplicating packages downloaded from the official Anaconda repository (used by Anaconda) with the same packages downloaded from the conda-forge repository (used by UV-CDAT). | ||
+ | * When you are done with this page (not just this section), you should have a look at the [[https://www.freecodecamp.org/news/why-you-need-python-environments-and-how-to-manage-them-with-conda-85f155f4353c/|Why You Need Python Environments and How to Manage Them with Conda]] page that covers interesting topics | ||
===== Miniconda ===== | ===== Miniconda ===== | ||
Line 196: | Line 204: | ||
You can get the current list of installed packages with ''conda list'', but it may also be useful to know the installation order: | You can get the current list of installed packages with ''conda list'', but it may also be useful to know the installation order: | ||
- | * ''conda list --revisions'' revisions will display **exactly** what was installed and when (including the updates, and automatic dependencies installation) | + | * ''conda list %%--%%revisions'' revisions will display **exactly** what was installed and when (including the updates, and automatic dependencies installation) |
- | * You can theoretically roll back to a previous //revision// with: ''conda install --revision RR'' | + | * You can theoretically roll back to a previous ''RR'' //revision// number with: ''conda install %%--%%revision RR'' |
* There is more information in the ''conda-meta/history'' installation log files. e.g., if you need to know the list of installation commands used:\\ <code> $ egrep -e 'cmd:' -e '==>' /home/share/unix_files/cdat/miniconda3/envs/cdatm18_py2/conda-meta/history | * There is more information in the ''conda-meta/history'' installation log files. e.g., if you need to know the list of installation commands used:\\ <code> $ egrep -e 'cmd:' -e '==>' /home/share/unix_files/cdat/miniconda3/envs/cdatm18_py2/conda-meta/history | ||
==> 2019-03-07 16:19:55 <== | ==> 2019-03-07 16:19:55 <== |