• 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 on Debian 12

  • 00:32 lsb_release -a
  • 00:41 cd /tmp/
  • 00:49 curl -O https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
  • 01:19 bash Anaconda3-2021.05-Linux-x86_64.sh
  • 02:07 source ~/anaconda3/bin/activate
  • 02:27 conda list
  • 02:41 conda create --name my_env python=3
  • 03:19 conda activate my_env
  • 03:36 python --version
{{postValue.id}}

To Install Anaconda On Debian 12

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.

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 12 (bookworm)
Release:        12
Codename:       bookworm

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  31.7M      0  0:00:17  0:00:17 --:--:-- 31.6M

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

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

In order to continue the installation process, please review the license
agreement.
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 Ana
conda, Inc. ("Anaconda") and governs your use of Anaconda Individual Edition (which was fo
rmerly known as Anaconda Distribution).

Step 6: Give Yes to Accept the license agreement

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

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

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

  - 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

Preparing transaction: done
Executing transaction: done
installation finished.

Step 8: Initialize the Installed Application by entering Yes

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

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: 23.9.0

Please update conda by running

    $ conda update -n base -c defaults conda

 wheel              pkgs/main/noarch::wheel-0.37.1-pyhd3eb1b0_0
  xz                 pkgs/main/linux-64::xz-5.4.2-h5eee18b_0
  zlib               pkgs/main/linux-64::zlib-1.2.13-h5eee18b_0


Proceed ([y]/n)? y

libuuid-1.41.5       | 27 KB     | ############################################### | 100%
wheel-0.37.1         | 33 KB     | ############################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
#     $ conda activate my_env
#
# To deactivate an active environment, use
#
#     $ conda deactivate

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

Conclusion:

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

Tags:
matthew
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 David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

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.