In this tutorial, we will show you how to install Anaconda on Ubuntu 20.04 LTS. For those of you who didn’t know, Anaconda is a popular Python/R data science and machine learning platform, used for large-scale data processing, predictive analytics, and scientific computing.
This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘
sudo‘ to the commands to get root privileges. I will show you through the step by step installation of Anaconda on an Ubuntu 20.04 Focal Fossa server.
Install Anaconda on Ubuntu 20.04 LTS Focal Fossa
Step 1. First, make sure that all your system packages are up-to-date by running the following
apt commands in the terminal.
sudo apt update sudo apt upgrade sudo apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
Step 2. Installing Anaconda on Ubuntu 20.04.
Find the latest version of Anaconda for Python 3 at the Anaconda Downloads page and download it:
wget -P /tmp https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
After that, verify the data integrity of the script with the sha256sum command:
Once verify with the sha256sum, run the script to start the installation process:
To activate the Anaconda installation, you can either close and re-open your shell or load the new PATH environment variable into the current shell session by typing:
To verify the installation type
conda in your terminal. If you installed Anaconda on a Desktop system, open the Navigator GUI by entering
anaconda-navigator in your terminal:
Congratulations! You have successfully installed Anaconda. Thanks for using this tutorial for installing anaconda python on your Ubuntu 20.04 LTS Focal Fossa. For additional help or useful information, we recommend you to check the official Anaconda website.