Collection of commands to install the Anaconda Python distribution (version Anaconda3-2020.07-Linux-x86_64
) on an Ubuntu 20.04 server
Install the convenience script
curl -O https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh
md5sum Anaconda3-2020.07-Linux-x86_64.sh
in the install process you get asked for the path to the installation folder. I usually pick /usr/local/bin/anaconda3
.
Create group to manage multi user usage
sudo groupadd anaconda
sudo chgrp -R anaconda /usr/local/bin/anaconda3
sudo chmod g+s -R anaconda3/
Add anaconda to the path
use something like
echo "export PATH=/usr/local/bin/anaconda3/bin/:\$PATH" >> .bashrc.d/path.bash