Vimalkumar Velayudhan

Menu

Conda

Install Miniconda 3 on Linux§

Download the latest version of the Miniconda installer (Python 3) from
https://docs.conda.io/en/latest/miniconda.html

Verify Download§

sha256sum Miniconda3-latest-Linux-x86_64.sh

Ensure output matches the SHA256 is listed on the website.

Run Installer§

bash Miniconda3-latest-Linux-x86_64.sh

Accept defaults. I do not run conda init and prefer to add the following aliases to ~/.bash_aliases instead:

alias ca='source ~/Programs/miniconda3/bin/activate'
alias ce='conda deactivate'

Save an environment’s package list§

conda list --export > package-list.txt

Reinstall packages from an exported package list file§

conda create -n myenv --file package-list.txt

If you have any questions or comments on this post, please send them by email to vimal (at) disroot (dot) org.

If you would like your comment to remain anonymous, please state that in your email. In any case, your email address will not be published.