Skip to content

Instantly share code, notes, and snippets.

View hobson's full-sized avatar
💭
dev4

Hobson Lane hobson

💭
dev4
View GitHub Profile
@hobson
hobson / install_anaconda.sh
Created September 24, 2021 03:32
Noninteractive anaconda install of the latest version on linux
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