How to Install Anaconda on Ubuntu

What is Anaconda?

Anaconda is a free and open-source distribution of Python and R programming languages for scientific computing and data science. It includes over 1,500 packages and libraries that are optimized for performance and include tools for data analysis, visualization, and machine learning.

Anaconda is designed to make it easy to install and manage packages and environments for data science and machine learning workflows. It includes the conda package manager, which allows you to easily install and update packages and their dependencies, as well as create and manage multiple isolated environments for your projects.

Anaconda is widely used in the data science and machine learning community and is suitable for beginners as well as experienced users. It is available for Windows, macOS, and Linux operating systems.

How to Install Anaconda on Ubuntu

To install Anaconda on Ubuntu, follow these steps:

  1. Download the Anaconda installer by visiting the Anaconda website (
  2. Open a terminal window and navigate to the directory where you downloaded the installer.
  3. Run the following command to make the installer executable:
chmod +x Anaconda3-*
  1. Run the installer using the following command:
  1. Follow the prompts to complete the installation. When prompted to “Do you wish the installer to initialize Anaconda3 by running conda init?”, type “yes” and press Enter.
  2. Close the terminal window and open a new one to complete the installation.
  3. Verify the installation by running the following command:
conda --version

This should print the version of conda that is installed on your system.