In this article, we will have explained the necessary steps to install and configure Anaconda Python on CentOS 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 is the most popular, free and open-source distribution of Python and R Programming language. It is used for large-scale data processing, predictive analysis and scientific computing. The Anaconda distribution is used by over 15 million users and includes more than 1500 popular data-science packages.
Install Anaconda Python on CentOS
Step 1. The first command will update the package lists to ensure you get the latest version and dependencies.
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm sudo dnf update
Step 2. Install Anaconda.
Download the latest stable version of Anaconda. You should visit Anaconda download page:
cd /tmp/ wget https://repo.anaconda.com/archive/Anaconda3-2019.03-Linux-x86_64.sh
Now run the Anaconda Installation Script to start Anaconda installation process:
bash Anaconda3-2019.03-Linux-x86_64.sh
Be patient installation and enter [Yes] if question.
Now, we activate the Anaconda installation load the new PATH environment variable:
source ~/.bashrc
Run the following command to verify Anaconda:
conda info
Step 3. Update Anaconda.
To update Anaconda is very easy and simple. At first, update the conda tool using following command:
conda update conda
Once conda is updated, proceed with the Anaconda update:
conda update anaconda
Congratulation, you have learned how to install and configure Anaconda on CentOS 8. If you have any question, please leave a comment below.