In this tutorial, we will show you how to install Anaconda on Debian 11. For those of you who didn’t know, Anaconda is an open-source platform written with Python programming language. It was built by data scientists, for data scientists. Anaconda contains a large variety of packages and repositories. It is important in its functionality as it provides processing and computing data on a large scale and also to program in python language. Anaconda provides more than 1,500 packages that are suitable for Windows, Linux, and macOS. It is specially designed for large-scale data processing, scientific computing, and predictive analytics.
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 Python on a Debian 11 (Bullseye).
- A server running one of the following operating systems: Debian 11 (Bullseye).
- It’s recommended that you use a fresh OS install to prevent any potential issues.
non-root sudo useror access to the
root user. We recommend acting as a
non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root.
Install Anaconda on Debian 11 Bullseye
Step 1. Before we install any software, it’s important to make sure your system is up to date by running the following
apt commands in the terminal:
sudo apt update sudo apt upgrade
Step 2. Installing Anaconda on Debian 11.
Now we run the following command to download the Anaconda installer script from the official page:
curl --output anaconda.sh https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
Once the download is completed, you will need to verify the integrity of the installer using SHA-256 checksum:
Then, start the Anaconda installation by running the following script:
The installer prompts “In order to continue the installation process, please review the license agreement.” Click Enter to view license terms. Scroll to the bottom of the license terms and enter “Yes” to agree.
Once is done, activate the Anaconda installation with the following command below:
You should see the following output:
To verify the installation we will open
(base) email@example.com:~# conda list
# packages in environment at /home/idroot/anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py38_0 _libgcc_mutex 0.1 main alabaster 0.7.16 pyhd3eb1b0_0 anaconda 2021.09 py38_0 anaconda-client 1.7.5 py38_0 anaconda-navigator 2.0.4 py38_0 anaconda-project 0.9.2 pyhd3eb1b0_1 anyio 2.2.1 py38h06a4308_1 appdirs 1.4.6 py_0
Congratulations! You have successfully installed Anaconda. Thanks for using this tutorial for installing the latest version of Anaconda Python on Debian 11 Bullseye. For additional help or useful information, we recommend you check the official Anaconda website.