How to install Anaconda on Debian 10 or 11 Bullseye – Linux Shout

Let’s learn the commands to install Anaconda Navigator on Debian 11 or 10 and also how to create a desktop shortcut for the same.
Anaconda is a Python distribution, which is designed for scientific work and the analysis of (large) amounts of data. Anaconda is free and also consists of free & Open source software – however, the company behind this Data Science platform also offers additional commercial support. It is available in Individual, Commerical, and Enterprise editions.  Anaconda has everything you need, including the Python interpreter. This makes it independent of the underlying system.
However, it does not contain any Python modules that cannot be installed in other ways such as package management or pip. The advantage of Anaconda is that you don’t have to worry about resolving the sometimes complex dependencies yourself. Anaconda also has its own package manager called Conda, which keeps all packages within the distribution up to date.
Go to the official website of Anaconda and visit the Download page, alternatively, you can use this link…  There under Linux, select 64-Bit (x86) Installer.  This will pop up a file to save on your system.
Download Anaconda python for Debian 11
Once the downloading of the file is completed. Open your command terminal and use the below commands to start the installer. As whatever we get from browser save in Downloads folder, thus first we switch to that-
Run script
Anaconda install script on Debian 11
Accept the Terms and conditions. Follow the Text-based installation wizard, let the default entries or settings as it is, just hit the Enter key.
When it asks to enter the path to extract Anaconda3,  type- /home/your-user/anaconda3 . Change your-user with the system standard user, not the root.
Example: Here h2s is our user name.
Set path to extract Anadcona
Next, we need to add the folder path of the extracted Anaconda in our system path, so that we can easily access its command without switching to its directory from anywhere in the terminal.
Replace h2s in the above command with your Debian user name.
To start using Anaconda without logging out while maintaining the state of the Current Shell or terminal; reload the bash, in simple words reload your profile without restarting or logging out the session.
Use the Conda command to know whether the Anaconda is working fine on your system:
Conda command
If you want to set up a new Anaconda environment for your project, then use the command
So, for example, if we want to create an environment with Python with a name let’s say: “firstenv“, so that command will be:
Now, we already have the Anaconda Environment, to install any package in that, the command syntax will be like this:
Let’s say you want to install Pythion and NumPy in your environment-
In this way, we can install whatever available packages we want. Also to activate the environment and start working with it.
To deactivate
Now, those who want to work in Anaconda but with a Graphical user interface can go for Navigator. It comes along with the installation of this Data Science and analytical platform.
To use it, in your command terminal run-
Anaconda Navigator GUI Debian 11 or 10
Step 1: Open the command terminal on your Debian 11 0r 10  or any other Linux system you are using.
Step 2: Switch to the Desktop directory by using the command:
Step 3: Now create a file for the Anaconda Desktop shortcut, for that we are using the default nano editor of Ubuntu Linux.
Step 4: You will see a text editor, where copy-paste the following text:
Note: Replace h2s with your username
Save the file by pressing  Ctrl+X, type- Y, and hit the Enter key.
Also, copy the same for launcher-
Other Articles:

Kali Linux, Linux


This site uses Akismet to reduce spam. Learn how your comment data is processed.
Linux Shout crafted as a part of our main portal H2S Media to publish Linux related tutorials and open source Software.


We will be happy to hear your thoughts

Leave a reply

Compare items
  • Total (0)