Conda

Conda is a package manager allowing you to easily and safely fetch dependencies.

Note

Conda allows you to install binary packages without requiring you to have root access. The only requirement is that you have access to the Internet.

Create Environment

You only need to create the conda environment once

wget -N https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh

bash Miniconda3-latest-Linux-x86_64.sh -b -u -p ~/miniconda3

Note

You can always remove ~/miniconda3 and start all over again.

Activate Environment

You will need to activate the conda environment

source ~/miniconda3/bin/activate

This step will override your environment variables and ensure you’re working with well known dependencies.

Note

You should activate the conda environment again, if you start a new terminal.

Install a Package

A package from one of the default channels

conda install -y gflags

A package from the Roq hosted conda repository

conda install -y --channel https://roq-trading.com/conda/stable \
    roq-api

Further Reading