Skip to content

Instantly share code, notes, and snippets.

@Pelirrojo
Created December 25, 2020 22:40
Show Gist options
  • Save Pelirrojo/417bbe37ca5971842e991f682c28991a to your computer and use it in GitHub Desktop.
Save Pelirrojo/417bbe37ca5971842e991f682c28991a to your computer and use it in GitHub Desktop.
Ubuntu MiniConda Installation
#!/usr/bin/env bash
clear
wget --version >/dev/null 2>&1 || { echo >&2 "I require Bash Shell but it's not installed. ¯\_(ツ)_/¯ Aborting."; exit 1; }
cd
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
chmod +x Miniconda3-latest-Linux-x86_64.sh
# I didn't say unattended or headless XD
sh Miniconda3-latest-Linux-x86_64.sh
# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh
# bash ~/Miniconda3-latest-Linux-x86_64.sh -b -p $HOME/miniconda
conda create -y -n py36 python=3.6
conda create -y -n py37 python=3.7
conda create -y -n py38 python=3.8
conda create -y -n pylab python=3.8
conda create -y -n quant python=3.8
conda env list
conda activate pylab
rm Miniconda3-latest-Linux-x86_64.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment