Python is one of the best programming languages in the world. It has been widely used to solve many industrial and academic research problems. When we talk about Artificial Intelligence, Machine Learning, Image Processing, Computer Vision, Natural Language Processing, and Deep Learning, the python programming language is mostly used in all the domains.
Table of Contents
Python is one of the best programming languages in the world. It has been widely used to solve many industrial and academic research problems. When we talk about Artificial Intelligence, Machine Learning, Image Processing, Computer Vision, Natural Language Processing, and Deep Learning, the python programming language is mostly used in all the domains.
Python programming language provides more than 300,000 packages which are just the count available on https://pypi.org/. Normally, an artificial intelligence-based project uses a lot of packages that are dependent on each other. So, it is a time-consuming task to install each package one by one using a terminal or command line. Anaconda solves the issue by providing a simple package manager for Linux, Windows, and macOS.
In this blog, you will learn the step-by-step procedure to install Anaconda in Linux, specifically Ubuntu.
Step 1: Download and Install Anaconda in Ubuntu Linux
1. Open the web link “https://www.anaconda.com/products/individual“
2. Scroll down and Go to the Anaconda Installer for Linux
3. Download the installer by clicking on the 64-Bit (x86) Installer

4. Right-click on the downloaded Anaconda3-2021__.sh file and select Properties
5. Click on the Permission tab and tick mark “Allow executing file as program“
6. Open the Terminal and run the Bash script on the Anaconda3__.sh file
7. Type “yes” to accept license terms
8. Press Enter to confirm the location
Finally, it will unpack the anaconda and install all the packages in your location.
Step 2: Setup the Anaconda Path in Ubuntu Linux
1. Type the below code in your terminal
gedit /home/your_path/.bashrc
2. The above will open the .bashrc file
3. Paste the below code at the end of the .bashrc file
export PATH=/home/your_path/anaconda3/bin:$PATH
4. Save and close the file
5. Type the below command in your terminal
source /home/your_path/.bashrc
Note: Don’t forget to change the your_path keyword with your actual path name in the above codes
6. Now open anaconda by writing “anaconda-navigator” in terminal
Congratulations, Anaconda is successfully installed in your machine.
How to Install Jupyter Notebook and Spyder in Ubuntu / Linux?
The Anaconda Navigator comes up with the default installation of Jupyter Notebook, Spyder, IBM Watson Studio Cloud, Datalore, JupyterLab, and QT Console. So, you don’t need to install all these programs separately. If you want other programs to use then simply click on the Install button which is available inside the box of the respective program.
How to open Jupyter Notebook and Spyder in Ubuntu Linux?
There are two simple ways to use Jupyter Notebook, Spyder, and other anaconda programs in Ubuntu Linux.
1. Open Anaconda Navigator by typing “anaconda-navigator” in the terminal and click on the “Launch” button to open Spyder or Jupyter Notebook.
2. If you want to speed up the loading process then open the terminal and type “jupyter notebook” for the jupyter notebook program and “spyder” for the spyder program.
Pingback: Top 7 Free Image Annotation Tools for Computer Vision - AI OCTA
Pingback: How to convert image from PIL format to OpenCV format
Pingback: How to merge multiple PDF into one in python? - AI OCTA