Skip to content
Snippets Groups Projects
Commit 3c708041 authored by Elian Loraux's avatar Elian Loraux
Browse files

installation d'anaconda vanilla

parent 5c0afb52
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env bash #!/usr/bin/env bash
# sudo apt-get install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh wget https://repo.anaconda.com/archive/Anaconda3-2023.09-0-Linux-x86_64.sh
bash Anaconda3-2023.09-0-Linux-x86_64.sh -b bash Anaconda3-2023.09-0-Linux-x86_64.sh -b
chown kasm-user:kasm-user anaconda3 chown kasm-user:kasm-user anaconda3
cat <<EOT >> .bashrc # # >>> conda initialize >>>
# >>> conda initialize >>> # # !! Contents within this block are managed by 'conda init' !!
# !! Contents within this block are managed by 'conda init' !! # __conda_setup="\$('/home/kasm-user/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
__conda_setup="\$('/home/kasm-user/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" # if [ \$? -eq 0 ]; then
if [ \$? -eq 0 ]; then # eval "\$__conda_setup"
eval "\$__conda_setup" # else
else # if [ -f "/home/kasm-user/anaconda3/etc/profile.d/conda.sh" ]; then
if [ -f "/home/kasm-user/anaconda3/etc/profile.d/conda.sh" ]; then # . "/home/kasm-user/anaconda3/etc/profile.d/conda.sh"
. "/home/kasm-user/anaconda3/etc/profile.d/conda.sh" # else
else # export PATH="/home/kasm-user/anaconda3/bin:\$PATH"
export PATH="/home/kasm-user/anaconda3/bin:\$PATH" # fi
fi # fi
fi # unset __conda_setup
unset __conda_setup # # <<< conda initialize <<<
# <<< conda initialize <<<
EOT
# ./anaconda3/bin/conda config --set auto_activate_base true
#
# rm Anaconda3-2023.09-0-Linux-x86_64.sh
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment