Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@BernardoGO
Created September 28, 2020 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BernardoGO/c06029a36873ef288f16b220e17ca938 to your computer and use it in GitHub Desktop.
Save BernardoGO/c06029a36873ef288f16b220e17ca938 to your computer and use it in GitHub Desktop.
Downloads and installs latest version of Anaconda3 in silent mode
#Downloads and installs latest version of Anaconda3
latestVer=$(curl 'https://repo.anaconda.com/archive/' | grep -oP 'href="Anaconda3-\K[0-9]+\.[0-9]+' | sort -t. -rn -k1,1 -k2,2 -k3,3 | head -1)
curl "https://repo.anaconda.com/archive/Anaconda3-${latestVer}-Linux-x86_64.sh" > /tmp/install_anaconda.sh
bash /tmp/install_anaconda.sh -b -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment