Conda is a package manager allowing you to easily and safely fetch dependencies.
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.
You only need to create the conda environment once
1wget -N https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-x86_64.sh 2 3bash Miniforge3-Linux-x86_64.sh -b -u -p ~/conda
1wget -N https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-Linux-aarch64.sh 2 3bash Miniforge3-Linux-aarch64.sh -b -u -p ~/conda
1wget -N https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge3-MacOSX-x86_64.sh 2 3bash Miniforge3-MacOSX-x86_64.sh -b -u -p ~/conda
You can always remove ~/conda and start all over again.
You will need to activate the conda environment
This step will override your environment variables and ensure you’re working with well known dependencies.
You should activate the conda environment again, if you start a new terminal.
Install a Package¶
A package from one of the default channels
1conda install -y \ 2 abseil-cpp
A package from the Roq hosted conda repository
1conda install -y \ 2 --channel https://roq-trading.com/conda/stable \ 3 roq-api