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
ANACONDA_URL=https://repo.anaconda.com/archive | |
ANACONDA_PATTERN='Anaconda3-202[0-9][.][0-9]{1,2}-Linux-x86_64[.]sh' | |
ANACONDA_FILENAME=$(curl "$ANACONDA_URL/index.html" | grep -E -o "$ANACONDA_PATTERN" | tail -n 1) | |
ANACONDA_URL=$ANACONDA_URL/$ANACONDA_FILENAME | |
echo "Anaconda Installer URL: $ANACONDA_INSTALLER_URL" | |
# anaconda | |
sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 | |
wget "$ANACONDA_URL" -O $HOME/install-anaconda.sh |
OlderNewer