Skip to content

Instantly share code, notes, and snippets.

@apoorvalal
Created June 3, 2017 18:41
Show Gist options
  • Save apoorvalal/88aada29a6302d09cd1f72bf6493cdbc to your computer and use it in GitHub Desktop.
Save apoorvalal/88aada29a6302d09cd1f72bf6493cdbc 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