Easiest Way to Install Anaconda on Your Remote Linux Server

This tutorial documents the easiest way to install Anaconda on your remote Linux server.

Retrieve the Latest version of Anaconda

Go to the Anaconda Distribution page. Find the latest Linux version and copy the installer bash script.

Download the Anaconda bash script

On your server, download the bash script to /tmp folder.

cd /tmp
curl -O https://repo.anaconda.com/archive/Anaconda3-<2019.10>-Linux-x86_64.sh

Remember to change the <2019.10> to the latest version number.

Verify the integrity of the installer

sha256sum Anaconda3-<2019.10>-Linux-x86_64.sh

Run the installer script and complete installation

bash Anaconda3-<2019.10>-Linux-x86_64.sh

Prepend install location to PATH in your ~/.bashrc

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] >>> 

Type yes.

Activate installation

source ~/.bashrc

Test installation

Test the installation by listing the packages.

conda list
Keng-Chi Chang
Keng-Chi Chang
PhD Candidate, UC San Diego
comments powered by Disqus