• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to Install Anaconda 2021.05 on Debian 11.3

  • 00:34 lsb_release -a
  • 00:47 cd /tmp/
  • 01:00 curl -O https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
  • 01:55 bash Anaconda3-2021.05-Linux-x86_64.sh
  • 03:23 source ~/anaconda3/bin/activate
  • 03:46 conda list
  • 04:06 conda create --name my_env python=3
  • 04:44 conda activate my_env
  • 05:05 python --version
{{postValue.id}}

To Install Anaconda 2021.05 On Debian 11.3

Introduction:

Anaconda is an open-source package manager, environment manager, and distribution of the Python and R programming languages that are designed for data science and machine learning workflows. It has been used for large-scale data processing, scientific computing, and predictive analytics.

Installation Procedure:

Step 1: Check the OS version by using the below command

root@linuxhelp: ~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye

Step 2: Change to the ‘tmp’ directory by using the below command

root@linuxhelp:~# cd /tmp/

Step 3: Download the Anaconda Script file to install Anaconda by using the below command

root@linuxhelp:/tmp# curl -O https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  544M  100  544M    0     0  10.8M      0  0:00:50  0:00:50 --:--:-- 11.0M

Step 4: Install Anaconda by Bash script file using the below command

root@linuxhelp:/tmp# bash Anaconda3-2021.05-Linux-x86_64.sh

Welcome to Anaconda3 2021.05

In order to continue the installation process, please review the license
agreement.

Step 5: Press Enter to continue installation by using the below command

Please, press ENTER to continue
>>> 
===================================
End User License Agreement - Anaconda Individual Edition
===================================

Copyright 2015-2021, Anaconda, Inc.

All rights reserved under the 3-clause BSD License:

This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. ("Anaconda") and governs
 your use of Anaconda Individual Edition (which was formerly known as Anaconda Distribution).

Subject to the terms of this Agreement, Anaconda hereby grants you a non-exclusive, non-transferable license to:

  * Install and use the Anaconda Individual Edition (which was formerly known as Anaconda Distribution),
  * Modify and create derivative works of sample source code delivered in Anaconda Individual Edition from Anaconda's reposito
ry; and
  * Redistribute code files in source (if provided to you by Anaconda as source) and binary forms, with or without modificatio
THIS SOFTWARE IS PROVIDED BY ANACONDA AND ITS CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT L
IMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL AN
ACONDA BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITE

D TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
This Agreement is governed by and construed in accordance with the internal laws of the State of Texas without giving effect t
o any choice or conflict of law provision or rule that would require or permit the application of the laws of any jurisdiction
 other than those of the State of Texas. Any legal suit, action, or proceeding arising out of or related to this Agreement or 
the licenses granted hereunder by you must be instituted exclusively in the federal courts of the United States or the courts 

Last updated September 3,2022

Step 6: Give Yes to Accept the license agreement

Do you accept the license terms? [yes|no]
[no] >>> yes

Anaconda3 will now be installed into this location:
/root/anaconda3

Step 7: Press ENTER to confirm the installation location for Anaconda

- Press ENTER to confirm the location
 - Press CTRL-C to abort the installation
 - Or specify a different location below

[/root/anaconda3] >>> 
PREFIX=/root/anaconda3
Unpacking payload ...
Collecting package metadata (current_repodata.json): done                                                                     
Solving environment: done

##Package Plan ##

environment location: /root/anaconda3

added / updated specs:
   - _ipyw_jlab_nb_ext_conf==0.1.0=py38_0
   - _libgcc_mutex==0.1=main
   - alabaster==0.7.12=pyhd3eb1b0_0
   - anaconda-client==1.7.2=py38_0
   - anaconda-navigator==2.0.3=py38_0
   - anaconda-project==0.9.1=pyhd3eb1b0_1
   - anaconda==2021.05=py38_0
Preparing transaction: done
Executing transaction: done
installation finished.

Step 8: Initialize the Installed Application

Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]
[no] >>> yes
no change     /root/anaconda3/condabin/conda
no change     /root/anaconda3/bin/conda
no change     /root/anaconda3/bin/conda-env
no change     /root/anaconda3/bin/activate
no change     /root/anaconda3/bin/deactivate
no change     /root/anaconda3/etc/profile.d/conda.sh
no change     /root/anaconda3/etc/fish/conf.d/conda.fish
no change     /root/anaconda3/shell/condabin/Conda.psm1
no change     /root/anaconda3/shell/condabin/conda-hook.ps1
no change     /root/anaconda3/lib/python3.8/site-packages/xontrib/conda.xsh
no change     /root/anaconda3/etc/profile.d/conda.csh
modified      /root/.bashrc

Step 9: Complete the installation by using the below command

root@linuxhelp:/tmp# source ~/anaconda3/bin/activate

Step 10: Test the installation by running the ‘conda’ command

(base) root@linuxhelp:/tmp# conda list

#packages in environment at /root/anaconda3:

#Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0                    py38_0
_libgcc_mutex             0.1                        main
alabaster                 0.7.12             pyhd3eb1b0_0
anaconda                  2021.05                  py38_0
anaconda-client           1.7.2                    py38_0
anaconda-navigator        2.0.3                    py38_0
anaconda-project          0.9.1              pyhd3eb1b0_1
anyio                     2.2.0            py38h06a4308_1
appdirs                   1.4.4                      py_0
argh                      0.26.2                   py38_0
argon2-cffi               20.1.0           py38h27cfd23_1
asn1crypto                1.4.0                      py_0
astroid                   2.5              py38h06a4308_1
astropy                   4.2.1            py38h27cfd23_1
async_generator           1.10               pyhd3eb1b0_0
atomicwrites              1.4.0                      py_0
attrs                     20.3.0             pyhd3eb1b0_0
autopep8                  1.5.6              pyhd3eb1b0_0
babel                     2.9.0              pyhd3eb1b0_0
backcall                  0.2.0              pyhd3eb1b0_0

Step 11: Create an Environment named my_env

(base) root@linuxhelp:/tmp# conda create --name my_env python=3
Collecting package metadata (current_repodata.json): done
Solving environment: done


==> WARNING: A newer version of conda exists. <==
  current version: 4.10.1
  latest version: 4.14.0

Please update conda by running

    $ conda update -n base -c defaults conda



##Package Plan ##

  environment location: /root/anaconda3/envs/my_env

  added / updated specs:
    - python=3


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    _openmp_mutex-5.1          |            1_gnu          21 KB
    ca-certificates-2022.07.19 |       h06a4308_0         124 KB
    certifi-2022.6.15          |  py310h06a4308_0         153 KB
    ld_impl_linux-64-2.38      |       h1181459_1         654 KB
    libgcc-ng-11.2.0           |       h1234567_1         5.3 MB
    libgomp-11.2.0             |       h1234567_1         474 KB
    libstdcxx-ng-11.2.0        |       h1234567_1         4.7 MB
    libuuid-1.0.3              |       h7f8727e_2          17 KB
    ncurses-6.3                |       h5eee18b_3         781 KB
    openssl-1.1.1q             |       h7f8727e_0         2.5 MB
    pip-22.1.2                 |  py310h06a4308_0         2.5 MB
    python-3.10.4              |       h12debd9_0        24.2 MB
    readline-8.1.2             |       h7f8727e_1         354 KB
    setuptools-63.4.1          |  py310h06a4308_0         1.1 MB
    sqlite-3.39.2              |       h5082296_0         1.1 MB
    tk-8.6.12                  |       h1ccaba5_0         3.0 MB
    tzdata-2022a               |       hda174b7_0         109 KB
    wheel-0.37.1               |     pyhd3eb1b0_0          33 KB
    xz-5.2.5                   |       h7f8727e_1         339 KB
    zlib-1.2.12                |       h7f8727e_2         106 KB
    ------------------------------------------------------------
                                           Total:        47.5 MB

Step 12: Activate the new Environment by using the below command

 (base) root@linuxhelp:/tmp# conda activate my_env

Step 13: Once the environment is activated verify that you’re using the version of Python

(my_env) root@linuxhelp:/tmp# python --version
Python 3.10.4

Conclusion:

We have reached the end of this article. In this guide, we have walked you through the steps required to install Anaconda 2021.05 on Debian 11.3. Your feedback is much welcome.

Tags:
muhammad
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What is Anaconda used for in Linux?

A

Anaconda is the installation program used by Fedora, Red Hat Enterprise Linux, and some other distributions. During installation, a target computer's hardware is identified and configured, and the appropriate file systems for the system's architecture are created.

Q

How do I open Anaconda in the Linux terminal?

A

In Linux, Open a terminal window and type anaconda-navigator.

Q

Is Anaconda a package manager?

A

Package versions in Anaconda are managed by the package management system, conda, which analyses the current environment before executing an installation to avoid disrupting other frameworks and packages. The Anaconda distribution comes with over 250 packages automatically installed.

Q

Is Python automatically installed with Anaconda?

A

The answer for you will be No. if you already had anaconda installed on your laptop, once you open it up you will realize you can install Python within the software. Anaconda will not only include Python but R also will be included.

Q

How to download the Anaconda Bash Script?

A

Download the Anaconda Bash Script by using the command curl -O https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh.

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Elijah ?
Remote Desktop Connection Has Stopped Working

When accessing my remote machine server using remote desktop on a windows machine I am getting this error

forum (1)

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.