Created
September 28, 2020 17:25
-
-
Save BernardoGO/c06029a36873ef288f16b220e17ca938 to your computer and use it in GitHub Desktop.
Downloads and installs latest version of Anaconda3 in silent mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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