Installing on Linux-s390x (IBM Z)¶
Note
Using Anaconda in a commercial setting? You may need to purchase a license to stay compliant with our Terms of Service. This can be accomplished through several of Anaconda’s tiers: Pro, Business (On-prem), Business (Cloud), or Enterprise. If you have already purchased Professional, please proceed to the “Authenticating to Anaconda” section of the appropriate Pro tier quickstart for your operating system and installation method.
Visit https://anaconda.cloud/pricing to compare tier capabilities and pricing.
On this page:
Installation¶
In your browser, download the Anaconda installer for Linux-s390x.
You can also use
curl
in your terminal to download installers from the archive. For example:curl -O https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-s390x.sh
(Recommended) Verify the installer’s data integrity with SHA-256. For more information on hash verification, see cryptographic hash validation.
Open a terminal and run the following:
shasum -a 256 /PATH/FILENAME # Replace /PATH/FILENAME with your installation's path and filename.
Install Anaconda Distribution:
# Include the bash command regardless of whether or not you are using a Bash shell. bash ~/Downloads/Anaconda3-2021.04-Linux-s390x.sh # If you didn't download to your Downloads directory, replace ~/Downloads/ with the path to the file you downloaded.
Press Enter to review the license agreement. Then press and hold Enter to scroll.
Enter “yes” to agree to the license agreement.
Use Enter to accept the default install location, use CTRL+C to cancel the installation, or enter another file path to specify an alternate installation directory. If you accept the default install location, the installer displays
PREFIX=/home/<USER>/anaconda<2/3>
and continues the installation. It may take a few minutes to complete.Note
Anaconda recommends you accept the default install location. Do not choose the path as /usr for the Anaconda/Miniconda installation.
Anaconda recommends you enter “yes” to initialize Anaconda Distribution by running
conda init
.If you enter “no”, then conda will not modify your shell scripts at all. In order to initialize conda after the installation process is done, run the following commands:
# Replace <PATH_TO_CONDA> with the path to your conda install source <PATH_TO_CONDA>/bin/activate conda init
For more information, see the FAQ.
The installer finishes and displays, “Thank you for installing Anaconda<2/3>!”
Close and re-open your terminal window for the installation to take effect, or enter the command
source ~/.bashrc
to refresh the terminal.You can also control whether or not your shell has the base environment activated each time it opens.
# The base environment is activated by default conda config --set auto_activate_base True # The base environment is not activated by default conda config --set auto_activate_base False # The above commands only work if conda init has been run first. # conda init is available in conda versions 4.6.12 and later.
-
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.
What’s next?¶
Get started programming with Anaconda in the Getting started with Anaconda guide.