YouTube Icon

Code Playground.

How to Install Anaconda on Debian 10


How to Install Anaconda on Debian 10

Boa constrictor is the most mainstream Python/R information science and AI stage. It is utilized for huge scope information preparing, prescient investigation, and logical registering. 

Boa constrictor dissemination ships with in excess of 1,500 open-source information bundles. It likewise incorporates the conda order line device and a work area graphical UI called Anaconda Navigator. 

In this instructional exercise, we will walk you through downloading and introducing Anaconda Python Distribution on Debian 10. 

Installing Anaconda

At the hour of composing this article, the most recent stable form of Anaconda is rendition 2019.10. Prior to downloading the Anaconda installer content, visit the Anaconda Downloads page and check if there is another variant of Anaconda for Python 3 accessible for download. 

Use wget or twist to download the Anaconda establishment content: 

wget -P /tmp

The download may take some time contingent upon your association speed. When done, check the information trustworthiness of the content with the sha256sum order: 

sha256sum /tmp/

You should see a yield like the accompanying: 

46d762284d252e51cd58a8ca6c8adc9da2eadc82c342927b2f66ed011d1d8b53  /tmp/

Ensure the hash printed from the order above matches the one accessible at the Anaconda with Python 3 on 64-digit Linux page for the Anaconda adaptation you're introducing.

Run the content to begin the Anaconda establishment measure: 

sh /tmp/
Welcome to Anaconda3 2019.10

In order to continue the installation process, please review the license
Please, press ENTER to continue

Press ENTER to proceed and afterward press SPACE to look through the permit. Whenever you're finished checking on the permit, you'll be provoked to acknowledge the permit terms: 

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

Type yes to acknowledge the permit, and the content will request that you pick the establishment area. 

Anaconda3 will now be installed into this location:

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

The default area is fine for most clients. Press ENTER to affirm the area, and the establishment cycle will begin. 

The establishment may take some time. Whenever it is finished, you'll see the accompanying: 

Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Anaconda3
by running conda init? [yes|no]

Type truly, press ENTER and the content will add conda to your PATH : 

==> For changes to take effect, close and re-open your current shell. <==

If you'd prefer that conda's base environment not be activated on startup, 
   set the auto_activate_base parameter to false: 

conda config --set auto_activate_base false

Thank you for installing Anaconda3!


Anaconda and JetBrains are working together to bring you Anaconda-powered
environments tightly integrated in the PyCharm IDE.

PyCharm for Anaconda is available at:

To actuate the Anaconda establishment load the new PATH climate variable that was added by the Anaconda installer into the current shell meeting with the accompanying order: 

source ~/.bashrc

To confirm that Anaconda was effectively introduced utilize the conda order: 

conda info
   active environment : base
    active env location : /home/linuxize/anaconda3
            shell level : 1
       user config file : /home/linuxize/.condarc
 populated config files : 
          conda version : 4.7.12
    conda-build version : 3.18.9
         python version :
       virtual packages : 
       base environment : /home/linuxize/anaconda3  (writable)
           channel URLs :
          package cache : /home/linuxize/anaconda3/pkgs
       envs directories : /home/linuxize/anaconda3/envs
               platform : linux-64
             user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Linux/4.19.0-5-amd64 debian/10 glibc/2.28
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False

Updating Anaconda

Refreshing Anaconda is a pretty straight forward cycle. Start by refreshing the conda apparatus with: 

conda update conda

When provoked to affirm the update, type y to continue. 

Once conda is refreshed, continue with the Anaconda update: 

conda update anaconda

Same as in the past, when incited, type y to continue. 

You ought to consistently refresh your Anaconda establishment. 

Uninstalling Anaconda

To uninstall Anaconda from your Debian framework, first eliminate the catalog where you have introduced Anaconda: 

rm -rf ~/anaconda3

Alter the ~/.bashrc document and eliminate the Anaconda catalog from the PATH climate variable: 


# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/linuxize/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
    if [ -f "/home/linuxize/anaconda3/etc/profile.d/" ]; then
        . "/home/linuxize/anaconda3/etc/profile.d/"
        export PATH="/home/linuxize/anaconda3/bin:$PATH"
unset __conda_setup
# <<< conda initialize <<<

Run the accompanying rm order to eliminate the concealed records and envelopes from the client home index: 

rm -rf ~/.condarc ~/.conda ~/.continuum


Since you have downloaded and introduced Anaconda on your Debian framework, you can check the authority Getting begun with conda manage. 

In the event that you hit an issue or have input, leave a remark beneath.