Conda - Installation and configuration

About

How to install Conda

Dockerfile

  • Ubuntu
echo "==> Installing Conda (Python 3)"
apt-get install -y bzip2
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O /tmp/miniconda.sh
bash /tmp/miniconda.sh -bfp /usr/local 
rm -rf /tmp/miniconda.sh 
conda update conda
conda install -y conda-build 
conda clean --all --yes

File Structure

ROOT_DIR

The directory that Anaconda or Miniconda was installed into.

Example:

/opt/Anaconda  #Linux
C:\Anaconda    #Windows

Package

Bash

Config

AutoUpdate

Doc. Update with package update

auto_update_conda: False

Always yes

Always answer yes to every question

always_yes: True

Information

conda info
     active environment : None
       user config file : /root/.condarc
 populated config files :
          conda version : 4.5.11
    conda-build version : not installed
         python version : 3.7.1.final.0
       base environment : /usr/local  (writable)
           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /usr/local/pkgs
                          /root/.conda/pkgs
       envs directories : /usr/local/envs
                          /root/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.11 requests/2.19.1 CPython/3.7.1 Linux/4.9.125-linuxkit ubuntu/16.04 glibc/2.23
                UID:GID : 0:0
             netrc file : None
           offline mode : False

Documentation / Reference


Powered by ComboStrap