Table of Contents
What is Conda?
Conda is an open-source package management and environment system. It allows you create isolated virtual environments and install software packages without requiring root access. If a program or package is not available as a module, we highly recommend you use Conda to install it and all it’s required dependencies.
Activating Conda on Spiedie
In order to activate Conda at log in on Spiedie, log in and run the following command:
/cm/shared/apps/miniconda/bin/conda init
Then, close the window and log back in.
You should see the terminal include the base environment tag like:
(base)[username@spiedie81 ~]:
If you would like to disable Conda at log in and would like to use Conda, run:
conda activate
Deactivating Conda
If you would not like to activate automatically at log in run the following command:
conda config --set auto_activate_base false
Using Conda
Creating a Conda environment
To create a new Conda environment, run:
conda create --name environment_name
Viewing available environments
To view all the available Conda environments, run:
conda info --env
Activating environment
To activate an environment currently created on your system, run:
conda activate environment_name
Deactivate environment
To return to the base environment, run:
conda deactivate
Installing packages
conda install package_name
Viewing installed packages
To list all the installed packages in the current environment, run:
conda list
Conda External Resources and Documentation
For more information on using Conda and documentation, click here .
To download a quick cheat for Conda, click here.