Install Anaconda on Ubuntu (or Linux) via command line

Something along the lines of:

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

to get the installer for 64 bit linux followed by:

bash Anaconda3-2020.07-Linux-x86_64.sh

You can get the latest release from here


Please take a look at the Anaconda repo archive page and select an appropriate version that you'd like to install.

After that, just do:

 # replace this `Anaconda3-version.num-Linux-x86_64.sh` with your choice
~$ wget -c https://repo.continuum.io/archive/Anaconda3-vers.num-Linux-x86_64.sh
~$ bash Anaconda3-version.num-Linux-x86_64.sh

Concrete Example:

As of this writing, Anaconda3-2020.07 is the latest version. So,

~$ wget -c https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh
~$ bash Anaconda3-2020.07-Linux-x86_64.sh

P.S. Based on comments, this should also work in CentOS systems.