Installing Python on Linux to Work with Algorithms - dummies

Installing Python on Linux to Work with Algorithms

By John Paul Mueller, Luca Massaron

You use the command line to install Anaconda on Linux — you’re given 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 64-bit version of Anaconda:

  1. Open a copy of Terminal. The Terminal window appears.
  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 4.2.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 (for the 32-bit version) or bash (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. The book assumes that you use the default location of ~/anaconda. If you choose some other location, you may have to modify some procedures later in the book to work with your setup.

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

    The application extraction process begins. 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.