How To Install Anaconda on Debian 11

Install Anaconda on Debian 11

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).

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:

sha256sum anconda.sh

Then, start the Anaconda installation by running the following script:

bash anaconda.sh

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:

source ~/.bashrc

You should see the following output:

(base) [email protected]:~#

To verify the installation we will open conda list:

(base) [email protected]:~# conda list

Output:

# 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.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get the best deal!