Installing on Linux POWER

Prerequisites

To use GUI packages with Linux, you will need to install the following extended dependencies for Qt:

RedHat yum install libXcomposite libXcursor libXi libXtst libXrandr alsa-lib mesa-libEGL libXdamage mesa-libGL libXScrnSaver
OpenSuse/SLES zypper install libXcomposite1 libXi6 libXext6 libXau6 libX11-6 libXrandr2 libXrender1 libXss1 libXtst6 libXdamage1 libXcursor1 libxcb1 libasound2  libX11-xcb1 Mesa-libGL1 Mesa-libEGL1

Installation

  1. In your browser, download the Anaconda installer for POWER8 and POWER9.

  2. RECOMMENDED: Verify data integrity with SHA-256. For more information on hashes, see What about cryptographic hash verification?

    • Open a terminal and run the following:

      sha256sum /path/filename
      
  3. Enter the following to install Anaconda for Python 3.7:

    bash ~/Downloads/Anaconda3-2019.10-Linux-ppc64le.sh
    

    OR enter the following to install Anaconda for Python 2.7:

    bash ~/Downloads/Anaconda2-2019.10-Linux-ppc64le.sh
    

    Note

    Include the bash command regardless of whether or not you are using Bash shell.

    Note

    If you did not download to your Downloads directory, replace ~/Downloads/ with the path to the file you downloaded.

  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, 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.

    Note

    We recommend you accept the default install location. Do not choose the path as /usr for the Anaconda/Miniconda installation.

  7. The installer prompts “Do you wish the installer to initialize Anaconda3 by running conda init?” We recommend “yes”.

    Note

    If you enter “no”, then conda will not modify your shell scripts at all. In order to initialize after the installation process is done, first run source <path to conda>/bin/activate and then run conda init.

    Note

    If you enter “No”, you must manually add the path to Anaconda or conda will not work. See FAQ.

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

  9. The installer provides a link to install PyCharm for Anaconda at https://www.anaconda.com/pycharm.

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

  11. To control whether or not each shell session has the base environment activated or not, run conda config --set auto_activate_base False or True. To run conda from anywhere without having the base environment activated by default, use conda config --set auto_activate_base False. This only works if you have run conda init first.

    Note

    conda init is available in conda versions 4.6.12 and later.

  12. Verify your installation.

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

Note

Anaconda on Power8 or Power9 only supports little endian mode.

Note

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

Problems?

See troubleshooting.

What’s next?

Get started programming quickly with Anaconda in the Getting started with Anaconda guide.