How to install Anaconda on Ubuntu?

You can use wget to download from commandline:

For Python3:

  • 32 bits version:

    wget https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86.sh
    
  • 64 bits version

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

And after download is finished do:

  • 32 bits:

    bash Anaconda3-2020.02-Linux-x86.sh
    
  • 64 bits:

    bash Anaconda3-2020.02-Linux-x86_64.sh
    

For users using Python2, the "3" directly after Anaconda should be changed to a 2.

Source: https://conda.io/docs/user-guide/install/linux.html


See Anaconda Hompepage for more detail!

Installation Instructions [Linux Install]

These instructions explain how to install Anaconda on a Linux system.

After downloading the Anaconda installer, run the following command from a terminal:

$ bash Anaconda-2.x.x-Linux-x86[_64].sh

After accepting the license terms, you will be asked to specify the install location (which defaults to ~/anaconda).

Note: You do NOT need root privileges to install Anaconda, if you select a user writable install location, such as ~/anaconda.* After the self extraction is finished, you should add the anaconda binary directory to your PATH environment variable.

As all of Anaconda is contained in a single directory, uninstalling Anaconda is easy (you simply remove the entire install location directory).


If you encounter any issues, please try disabling your antivirus software. Linux/OS X Uninstall

As all of Anaconda is contained in a single directory, uninstalling Anaconda is simple (you simply remove the entire install location directory):

$ rm -rf ~/anaconda

Nobody has explained here why apt-get and other package managers don't have packages for anaconda.

An important reason for this is that anaconda is meant to be usable by a user who, for whatever reason, doesn't have root privileges. In that case the user just installs into ~/anaconda, changes her own PATH and PYTHONHOME variables so as to run ~/anaconda/python, and is capable of controlling her personal python distribution, while modifying the "system" python might require an administrator's help.

Package managers always require sysadmin privileges.