Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Choose channels for the package installation

...

Code Block
username@lanta:~> conda install -c conda-forge matplotlib

Check default

...

channel URLs in your conda module

You can check the default channel URLs with conda info command.

Code Block
username@lanta:~> conda info
     active environment : None
            shell level : 0
       user config file : /home/username/.condarc
 populated config files : /lustrefs/disk/modules/easybuild/software/Mamba/23.11.0-0/.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.10.13.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=zen3
                          __conda=23.11.0=0
                          __glibc=2.31=0
                          __linux=5.14.21=0
                          __unix=0=0
       base environment : /lustrefs/disk/modules/easybuild/software/Mamba/23.11.0-0  (read only)
      conda av data dir : /lustrefs/disk/modules/easybuild/software/Mamba/23.11.0-0/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /lustrefs/disk/modules/easybuild/software/Mamba/23.11.0-0/pkgs
                          /home/ywongnon/.conda/pkgs
       envs directories : /home/ywongnon/.conda/envs
                          /lustrefs/disk/modules/easybuild/software/Mamba/23.11.0-0/envs
               platform : linux-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.13 Linux/5.14.21-150400.24.81_12.0.86-cray_shasta_c sles/15.4 glibc/2.31 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.5
                UID:GID : 1980400170:1980400170
             netrc file : None
           offline mode : False

From above, you can see 2 URLs for the conda-forge channel.

Code Block
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
               https://conda.anaconda.org/conda-forge/noarch

If you add the bioconda channel to your conda module, you can see 4 URLs for the conda-forge and bioconda channels.

Code Block
channel URLs : https://conda.anaconda.org/conda-forge/linux-64
               https://conda.anaconda.org/conda-forge/noarch
               https://conda.anaconda.org/bioconda/linux-64
               https://conda.anaconda.org/bioconda/noarch

However, if you found the URLs in this format, you need to reinstall your conda module.

Code Block
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
               https://repo.anaconda.com/pkgs/main/noarch
               https://repo.anaconda.com/pkgs/r/linux-64
               https://repo.anaconda.com/pkgs/r/noarch