Skip to content

Instantly share code, notes, and snippets.

@rkennesson
Forked from apoorvalal/conda_installer.sh
Created April 1, 2019 16:41
Show Gist options
  • Save rkennesson/c2cd83d8957ca7ed47384f6e3f7a617e to your computer and use it in GitHub Desktop.
Save rkennesson/c2cd83d8957ca7ed47384f6e3f7a617e to your computer and use it in GitHub Desktop.
download and install conda
CONTREPO=https://repo.continuum.io/archive/
# Stepwise filtering of the html at $CONTREPO
# Get the topmost line that matches our requirements, extract the file name.
ANACONDAURL=$(wget -q -O - $CONTREPO index.html | grep "Anaconda3-" | grep "Linux" | grep "86_64" | head -n 1 | cut -d \" -f 2)
wget -O ~/Downloads/anaconda.sh $CONTREPO$ANACONDAURL
bash ~/Downloads/anaconda.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment