Update conda command-line – miniconda3 and the base environment with defaults

Author:

Update the conda installed by miniconda3 is simple:

conda update -n base -c defaults conda

And here is the update process.

(base) myuser@srv ~ $ conda -V
conda 4.10.3
(base) myuser@srv ~ $ conda update -n base -c defaults conda
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/myuser/miniconda3

  added / updated specs:
    - conda


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    certifi-2021.10.8          |   py39h06a4308_2         151 KB
    cffi-1.15.0                |   py39hd667e15_1         225 KB
    charset-normalizer-2.0.4   |     pyhd3eb1b0_0          35 KB
    conda-4.11.0               |   py39h06a4308_0        14.4 MB
    cryptography-36.0.0        |   py39h9ce1e76_0         1.3 MB
    idna-3.3                   |     pyhd3eb1b0_0          49 KB
    ncurses-6.3                |       h7f8727e_2         782 KB
    pycparser-2.21             |     pyhd3eb1b0_0          94 KB
    pyopenssl-21.0.0           |     pyhd3eb1b0_1          49 KB
    requests-2.27.1            |     pyhd3eb1b0_0          54 KB
    setuptools-58.0.4          |   py39h06a4308_0         790 KB
    sqlite-3.37.0              |       hc218d9a_0         999 KB
    tqdm-4.62.3                |     pyhd3eb1b0_1          83 KB
    tzdata-2021e               |       hda174b7_0         112 KB
    urllib3-1.26.7             |     pyhd3eb1b0_0         111 KB
    ------------------------------------------------------------
                                           Total:        19.2 MB

The following NEW packages will be INSTALLED:

  charset-normalizer pkgs/main/noarch::charset-normalizer-2.0.4-pyhd3eb1b0_0

The following packages will be REMOVED:

  chardet-4.0.0-py39h06a4308_1003
  pip-21.1.3-py39h06a4308_0
  wheel-0.36.2-pyhd3eb1b0_0

The following packages will be UPDATED:

  ca-certificates                       2021.7.5-h06a4308_1 --> 2021.10.26-h06a4308_2
  certifi                          2021.5.30-py39h06a4308_0 --> 2021.10.8-py39h06a4308_2
  cffi                                1.14.6-py39h400218f_0 --> 1.15.0-py39hd667e15_1
  conda                               4.10.3-py39h06a4308_0 --> 4.11.0-py39h06a4308_0
  cryptography                         3.4.7-py39hd23ed53_0 --> 36.0.0-py39h9ce1e76_0
  idna                                    2.10-pyhd3eb1b0_0 --> 3.3-pyhd3eb1b0_0
  ncurses                                    6.2-he6710b0_1 --> 6.3-h7f8727e_2
  openssl                                 1.1.1k-h27cfd23_0 --> 1.1.1m-h7f8727e_0
  pycparser                                       2.20-py_2 --> 2.21-pyhd3eb1b0_0
  pyopenssl                             20.0.1-pyhd3eb1b0_1 --> 21.0.0-pyhd3eb1b0_1
  readline                                   8.1-h27cfd23_0 --> 8.1.2-h7f8727e_1
  requests                              2.25.1-pyhd3eb1b0_0 --> 2.27.1-pyhd3eb1b0_0
  setuptools                          52.0.0-py39h06a4308_0 --> 58.0.4-py39h06a4308_0
  sqlite                                  3.36.0-hc218d9a_0 --> 3.37.0-hc218d9a_0
  tk                                      8.6.10-hbc83047_0 --> 8.6.11-h1ccaba5_0
  tqdm                                  4.61.2-pyhd3eb1b0_1 --> 4.62.3-pyhd3eb1b0_1
  tzdata                                   2021a-h52ac0ba_0 --> 2021e-hda174b7_0
  urllib3                               1.26.6-pyhd3eb1b0_1 --> 1.26.7-pyhd3eb1b0_0
  zlib                                    1.2.11-h7b6447c_3 --> 1.2.11-h7f8727e_4


Proceed ([y]/n)? y


Downloading and Extracting Packages
pycparser-2.21       | 94 KB     | ################################################################### | 100% 
conda-4.11.0         | 14.4 MB   | ################################################################### | 100% 
urllib3-1.26.7       | 111 KB    | ################################################################### | 100% 
certifi-2021.10.8    | 151 KB    | ################################################################### | 100% 
charset-normalizer-2 | 35 KB     | ################################################################### | 100% 
requests-2.27.1      | 54 KB     | ################################################################### | 100% 
cryptography-36.0.0  | 1.3 MB    | ################################################################### | 100% 
tzdata-2021e         | 112 KB    | ################################################################### | 100% 
idna-3.3             | 49 KB     | ################################################################### | 100% 
tqdm-4.62.3          | 83 KB     | ################################################################### | 100% 
cffi-1.15.0          | 225 KB    | ################################################################### | 100% 
ncurses-6.3          | 782 KB    | ################################################################### | 100% 
setuptools-58.0.4    | 790 KB    | ################################################################### | 100% 
sqlite-3.37.0        | 999 KB    | ################################################################### | 100% 
pyopenssl-21.0.0     | 49 KB     | ################################################################### | 100% 
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) myuser@srv ~ $ conda -V
conda 4.11.0

A confirmation is needed before the conda update process to proceed with the updates.

One thought on “Update conda command-line – miniconda3 and the base environment with defaults”

  1. Why aren’t CUDA supported by default when installing Anaconda/Miniconda when installer detects CUDA capable GPU ? Why is installing and using CUDA so god dam for 99% of user impossible ??? Data mining is so slow …. having Cuda capable card, but “system CUDA race car” is crippled parked in garage in stall mode doing absolute nothing. And no one seems to care !

Leave a Reply

Your email address will not be published. Required fields are marked *