Anaconda for Linux installΒΆ

  1. In your browser, download the Anaconda installer for Linux.

  2. Optional: Verify data integrity with MD5 or SHA-256. (For more information on hashes, see cryptographic hash validation.)

    1. Run the following:

      md5sum /path/filename
      

      OR:

      sha256sum /path/filename
      
    2. Verify results against the proper hash page to make sure the hashes match.

  3. Enter the following to install Anaconda for Python 3.6:

    bash ~/Downloads/Anaconda3-4.4.0-Linux-x86_64.sh
    

    OR

    Enter the following to install Anaconda for Python 2.7:

    bash ~/Downloads/Anaconda2-4.4.0-Linux-x86_64.sh
    

    NOTE: You should include the bash command regardless of whether you are using Bash shell.

    NOTE: Replace actual download path and filename as necessary.

    NOTE: Install Anaconda as a user unless root privileges are required.

  4. The installer prompts “In order to continue the installation process, please review the license agreement.” Click Enter to view license terms.

  5. Scroll to the bottom of the license terms and enter yes to agree to them.

  6. The installer prompts you to click Enter to accept the default install location, press CTRL-C to cancel the installation, or specify an alternate installation directory. If you accept the default install location, the installer displays “PREFIX=/home/<user>/anaconda<2 or 3>” and continues the installation. It may take a few minutes to complete.

  7. The installer prompts “Do you wish the installer to prepend the Anaconda<2 or 3> install location to PATH in your /home/<user>/.bashrc ?” We recommend yes.

    NOTE: If you enter “no”, you will need to manually specify the path to Anaconda when using Anaconda. To manually add the prepended path, edit file .bashrc to add ~/anaconda<2 or 3>/bin to your path manually using:

    export PATH="/home/<user>/anaconda<2 or 3>/bin:$PATH"
    

    Replace /home/<user>/anaconda<2 or 3> with the actual path.

  8. The installer finishes and displays “Thank you for installing Anaconda<2 or 3>!”

  9. Close and open your terminal window for the installation to take effect, or you can enter the command source ~/.bashrc.

  10. Enter conda list. If the installation was successful, the terminal window should display a list of installed Anaconda packages.

After your install completes, start using Anaconda with the instructions in Getting started.

NOTE: If you install multiple versions of Anaconda, the system should always default to the most current version, as long as you haven’t altered the default install path.