Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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