How to Install Anaconda in Ubuntu 24.04 – Complete Guide for Beginners
If you're working with Python, data science, machine learning, or scientific computing, installing Anaconda can significantly improve your development workflow. Anaconda is a popular Python and R distribution platform that comes bundled with thousands of packages, tools, and libraries. In this post, we’ll walk you through how to install Anaconda in Ubuntu 24.04, using instructions adapted from Vultr’s official guide.
Whether you're new to Linux or a seasoned developer setting up a new environment, this step-by-step guide will help you get started quickly and easily.
Why Use Anaconda?
Anaconda simplifies the management of packages and environments in Python. Here’s why many developers and data scientists prefer it:
It includes over 7,500 open-source packages.
Built-in tools like Jupyter Notebook, Spyder IDE, and Conda make coding and experimentation easier.
Virtual environment support lets you isolate dependencies for each project.
It’s great for machine learning, scientific computing, and data analysis workflows.
Prerequisites
Before proceeding to install Anaconda in Ubuntu 24.04, make sure you have:
A system running Ubuntu 24.04 (LTS)
A user account with sudo privileges
Around 3 GB of free disk space
A stable internet connection
Step-by-Step: How to Install Anaconda in Ubuntu 24.04
The following steps are adapted from Vultr’s detailed tutorial and will guide you through the installation process.
1. Update Your Ubuntu System
Start by opening your terminal and updating your package lists:
sudo apt update && sudo apt upgrade -y
This ensures your system has the latest updates installed.
2. Download the Anaconda Installer
Use the wget command to download the latest Anaconda installer:
You can verify the latest version from the official Anaconda download page if needed.
3. (Optional) Verify the Installer
It’s good practice to verify the integrity of the installer script using a checksum:
sha256sum Anaconda3-2024.05-1-Linux-x86_64.sh
Compare the output with the SHA-256 checksum on the official website to ensure the file is safe to run.
4. Run the Installer
Execute the installer script:
bash Anaconda3-2024.05-1-Linux-x86_64.sh
Press Enter to start the setup.
Accept the license agreement by typing yes.
Choose the default install location (or enter a custom path).
5. Activate Anaconda
Once the installation is complete, activate the base environment:
source ~/.bashrc
Check that Anaconda is installed correctly:
conda --version
This should return the version of Conda installed.
Post-Installation Tips
Now that Anaconda is installed, here are a few useful commands to get you started:
Create a new environment:
conda create --name myenv python=3.12
conda activate myenv
Launch Jupyter Notebook:
jupyter notebook
Update all packages:
conda update --all
These tools will help you manage environments and dependencies for different projects efficiently.
Final Thoughts
Installing Anaconda in Ubuntu 24.04 is a smart move for developers and data professionals looking for a robust and reliable Python environment. With built-in support for popular libraries, notebooks, and version isolation, Anaconda can save hours of setup time and reduce the hassle of managing packages manually.
If you run into any issues or need a visual walkthrough, check out the full guide on Vultr:Feel free to drop your questions or share your experiences below if you've recently installed Anaconda on Ubuntu 24.04!

