Skip to content

Instantly share code, notes, and snippets.

@calumroy
Last active November 19, 2017 14:32
Show Gist options
  • Save calumroy/b69cf5f42832cf4b7e6bf719e6f3da2e to your computer and use it in GitHub Desktop.
Save calumroy/b69cf5f42832cf4b7e6bf719e6f3da2e to your computer and use it in GitHub Desktop.
conda

Conda and Anaconda?

conda is the package manager.
Anaconda is a set of about a hundred packages including conda, numpy, scipy, ipython notebook, and so on.

You installed Miniconda, which is a smaller alternative to Anaconda that is just conda and its dependencies
(as opposed to Anaconda, which is conda and a bunch of other packages like numpy, scipy, ipython notebook, etc.).
Once you have Miniconda, you can easily install Anaconda into it with conda install anaconda.

Install linux

Download the installer
https://conda.io/docs/user-guide/install/linux.html#install-linux-silent

bash Miniconda3-latest-Linux-x86_64.sh
bash Anaconda-latest-Linux-x86_64.sh

Create a conda virtual env and active it

conda create -n yourenvname python=x.x anaconda
source activate yourenvname

Install a package in the conda env

conda install -n yourenvname [package]

List your conda environments

conda env list

Conda Cheat Sheet

https://conda.io/docs/_downloads/conda-cheatsheet.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment