#!/usr/bin/env bash

wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh

bash Anaconda3-2023.09-0-Linux-x86_64.sh -b

chown kasm-user:kasm-user anaconda3

# # >>> conda initialize >>>
# # !! Contents within this block are managed by 'conda init' !!
# __conda_setup="\$('/home/kasm-user/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
# if [ \$? -eq 0 ]; then
#     eval "\$__conda_setup"
# else
#     if [ -f "/home/kasm-user/anaconda3/etc/profile.d/conda.sh" ]; then
#         . "/home/kasm-user/anaconda3/etc/profile.d/conda.sh"
#     else
#         export PATH="/home/kasm-user/anaconda3/bin:\$PATH"
#     fi
# fi
# unset __conda_setup
# # <<< conda initialize <<<
