How to install Anaconda on Ubuntu?

How to install Anaconda for Python on Ubuntu?

Is there a way to use apt-get install?

I only have command line access to my server. How do I install Anaconda on Ubuntu 14.04 from the command line?


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