Conda - Installation and configuration

> Procedural Languages > Python > Anaconda

1 - About

How to install Conda

3 - 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
Advertising

4 - File Structure

4.1 - ROOT_DIR

The directory that Anaconda or Miniconda was installed into.

Example:

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

5 - Bash

6 - Config

6.1 - AutoUpdate

Doc. Update with package update

.condarc
auto_update_conda: False

6.2 - Always yes

Always answer yes to every question

.condarc
always_yes: True
Advertising

6.3 - 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

7 - Documentation / Reference

lang/python/conda/installation.txt · Last modified: 2019/01/08 17:59 by gerardnico