In this article, we will have explained the necessary steps to install Anaconda Python on Rocky Linux 8. Before continuing with this tutorial, make sure you are logged in as a user with
sudo privileges. All the commands in this tutorial should be run as a non-root user.
Anaconda a.ka. Anaconda Python is an open-source package manager and distribution of Python. It is designed for machine learning and data science and comprises several open-source packages. It can install on all popular operating systems including Windows, Linux, and macOS.
Install Anaconda Python on Rocky Linux 8
Step 1. First, before you start installing any package on your Rocky Linux server, we always recommend making sure that all system packages are updated.
sudo dnf install epel-release sudo dnf update sudo dnf upgrade sudo dnf install libXi libXtst libXrandr libXcursor alsa-lib mesa-libEGL libXcomposite libXScrnSaver libXdamage mesa-libGL
Step 2. Install Anaconda Python on Rocky Linux.
Installing TeamViewer on your Rocky Linux system is straightforward, Now download the latest version of Anaconda from its official website downloads page. The installer file is actually a bash script ending with
cd /tmp/ wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
After that, verify the integrity of the installer file, generate its sha256 cryptographic hash using the command:
Now, run the downloaded script to install Anaconda on your system:
Be patient until installation is completed. All you have to do is enter the
source ~/.bashrc after the installation (use the same terminal window):
Step 3. Verify the Anaconda Installation.
To verify the installation of Anaconda using the conda, type the command below in Terminal:
To verify the installation of Anaconda using the Anaconda Navigator, type the command below in Terminal:
That’s all you need to do to install Anaconda on Rocky Linux 8. I hope you find this quick tip helpful. For further reading on the Anaconda Python Distribution, please refer to their official knowledge base. If you have questions or suggestions, feel free to leave a comment below.