How to install Anaconda on a Remote Server
Find the latest version of Anaconda
Visit the Anaconda Distributions page. Go to the Anaconda Archive if you would like to view all available versions. Find the latest Linux version and copy the installer bash script.
Download the Anaconda using bash commands
On your server, change your directory to
/tmpand download the bash script to
cd /tmp curl -O https://repo.anaconda.com/archive/Anaconda3-<2022.05>-Linux-x86_64.sh
Remember to remove the ‘<’ and ‘>’ characters on all of the commands and change the <2022.05> to the latest version.
Verify the integrity of the installer
- Run the installer script and complete installation
~/.bashrcto install it to your PATH
Once installation is complete, you’ll receive the following output:
... installation finished. Do you wish the installer to prepend the Anaconda3 install location to PATH in your ~/.bashrc ? [yes|no] [no] >>>
Test the installation by listing the packages.
After you set conda up, you will see (base) by default. In order to deactivate (base) environment from auto activating use the command below.
conda config --set auto_activate_base false