How to Install Anaconda on Ubuntu 24.04: A Complete Step-by-Step Guide
If you're working with data science, machine learning, or scientific computing, chances are you're familiar with Anaconda — one of the most popular open-source distributions for Python and R. It simplifies package management and deployment, making it easier to build and maintain data science environments. In this guide, we’ll walk you through how to Install Anaconda on Ubuntu 24.04 effectively using a reliable step-by-step approach.
Why Choose Anaconda?
Anaconda comes pre-installed with over 1,500 data science packages, including libraries like NumPy, Pandas, Matplotlib, and TensorFlow. It also includes Conda, a powerful package and environment manager that allows you to install, run, and update packages with ease. Installing Anaconda on your Ubuntu 24.04 system ensures you have a robust environment for all your data science projects.
Prerequisites
Before you begin, make sure:
You’re using Ubuntu 24.04.
You have sudo (administrator) privileges.
Your system is updated: sudo apt update && sudo apt upgrade
Step 1: Download the Anaconda Installer Script
To install Anaconda on Ubuntu 24.04, start by downloading the latest Anaconda installer for Linux. You can find the appropriate link from the official Anaconda website, but the Vultr guide provides the direct command:
wget https://repo.anaconda.com/archive/Anaconda3-2024.02-1-Linux-x86_64.sh
This will download the installer script to your current working directory.Step 2: Verify the Installer (Optional but Recommended)
You can verify the integrity of the script using SHA-256 checksum. This ensures the file wasn’t corrupted or tampered with:
sha256sum Anaconda3-2024.02-1-Linux-x86_64.sh
Compare the output with the checksum provided on the Anaconda website.
Step 3: Run the Installer
Now, begin the installation:
bash Anaconda3-2024.02-1-Linux-x86_64.sh
You’ll be guided through the license agreement and asked to confirm the installation path. The default location is usually fine unless you prefer a custom directory.
Step 4: Activate the Installation
Once the installation is complete, activate Anaconda by restarting your terminal or running:
source ~/.bashrc
You can then confirm the installation by typing:
conda --version
This should return the installed Conda version, indicating that Anaconda is successfully set up on your system.
Step 5: Create a New Environment (Optional)
While you can work in the base environment, it's recommended to create a new Conda environment for your projects:
conda create --name myenv python=3.12
Activate your environment using:
conda activate myenv
You can now install additional packages inside this environment using:
conda install numpy pandas matplotlib
Step 6: Launch Anaconda Navigator (Optional GUI Tool)
If you prefer a graphical interface, Anaconda Navigator is included in the installation:
anaconda-navigator
This launches a user-friendly GUI for managing packages, environments, and applications like Jupyter Notebook and Spyder.
Conclusion
Installing Anaconda on Ubuntu 24.04 is a straightforward process that unlocks a powerful environment for Python and R development. With the help of ultr’s guide, you can easily configure a robust, scalable workspace for data science, machine learning, and scientific computing.
Whether you're a beginner or an experienced professional, Anaconda will simplify your workflow, improve productivity, and allow you to manage packages and environments efficiently. Get started today and take full advantage of the tools and flexibility Anaconda provides on Ubuntu 24.04.

