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 2: wget Download
- Visit the Anaconda archive repository:
https://repo.anaconda.com/archive/ - 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.



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.
Tags: