How to Install Anaconda on Linux - dummies

By John Paul Mueller, Luca Massaron

Before using Python for data science, you need to install Anaconda. You use the command line to install Anaconda on Linux — there is no graphical installation option. Before you can perform the install, you must download a copy of the Linux software from the Continuum Analytics site. The following procedure should work fine on any Linux system, whether you use the 32-bit or the 64-bit version of Anaconda.

  1. Open a copy of Terminal.

    You see the Terminal window appear.

  2. Change directories to the downloaded copy of Anaconda on your system.

    The name of this file varies, but normally it appears as for 32-bit systems and for 64-bit systems. The version number is embedded as part of the filename. In this case, the filename refers to version 2.1.0. If you use some other version, you may experience problems with the source code and need to make adjustments when working with it.

  3. Type bash Anaconda-2.1.0-Linux-x86 (for the 32-bit version) or (for the 64-bit version) and press Enter.

    An installation wizard starts that asks you to accept the licensing terms for using Anaconda.

  4. Read the licensing agreement and accept the terms using the method required for your version of Linux.

    The wizard asks you to provide an installation location for Anaconda.

  5. Provide an installation location (if necessary) and press Enter (or click Next).

    You see the application extraction process begin. After the extraction is complete, you see a completion message.

  6. Add the installation path to your PATH statement using the method required for your version of Linux.

    You’re ready to begin using Anaconda.