Table of Contents

Anaconda

Install on Ubuntu like this: https://docs.anaconda.com/free/anaconda/install/linux

conda create -n myenv # create new environment
conda activate myenv # activate the environment
conda deactivate # deactivate an env
conda install sth # install a conda package named sth
conda install sth=2 # install version 2 of sth
conda remove -n myenv # remove an environment
conda init --reverse $SHELL 

User management

sudo group add mygroup
sudo chgrp -R mygroup /opt/anaconda3/
sudo chmod 770 -R /opt/anaconda3/
sudo adduser username mygroup

source /opt/anaconda3/bin/activate
conda init