Skip to content
Build your own robot

Tech Blogs

Linux Ubuntu OS Install Anaconda Guide

09 Apr 2025 0 comments

1. Install Required Dependencies

Execute the following command to install necessary dependency packages for Anaconda:

sudo apt install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6

2. Download Installer

The recommended method to install Anaconda is to download the latest Anaconda installer bash script and execute it.

Find the latest Anaconda version for Python 3 on the Anaconda Downloads page.

As of this writing, the latest version is 2024.10, but you should use a newer stable version if available.

Method 1: Official Website Download

https://www.anaconda.com/download#Downloads Anaconda download page

Method 2: wget Download

  1. Visit the Anaconda archive repository:
    https://repo.anaconda.com/archive/
  2. Select the appropriate version for your system and download using wget:
    wget https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh

3. Execute Installation

Navigate to the download directory and run the installation script:

bash Anaconda3-2024.10-1-Linux-x86_64.sh

Press Enter through the installation process when prompted.

Installation step 1 Installation step 2 Installation step 3

4. Configure Environment Variables

Modify the .bashrc file:

Add these lines at the end of ~/.bashrc:

export PATH=~/anaconda3/bin:$PATH
source ~/anaconda3/bin/activate

Apply the changes:

source ~/.bashrc

After completion, you'll enter Anaconda's default base environment. You can now use conda commands to create new Python environments.

Prev post
Next post

Leave a comment

Please note, comments need to be approved before they are published.

Thanks for subscribing!

This email has been registered!

Shop the look

Choose options

Edit option

Choose options

this is just a warning
Login
Shopping cart
0 items