How to Install Conda on Ubuntu 24.04 (LTS)

Conda is one of the widely used software tools. It facilitates users in managing their project environments efficiently. With Conda you can access various data science tools, such as Jupyter Notebook, VSCode, RStudio, and more.

Additionally, you can easily manage environments, install packages, and utilize useful tools without using commands.

This blog explains the installation of Conda on Ubuntu 24.04 (LTS).

How to Install Conda on Ubuntu 24.04 (LTS)?

We will explore the following section throught this blog:

How to Install Conda on Ubuntu 24.04 (LTS)?

How to Download Conda on Ubuntu 24.04 (LTS)?

How to Setup Conda on Ubuntu 24.04 (LTS)?

How to Activate and Deactivate Conda on Ubuntu 24.04 (LTS)?

How to Open Conda Navigator on Ubuntu 24.04 (LTS)?

FAQs

Conclusion

How to Download Conda on Ubuntu 24.04 (LTS)?

This section will demonstrate the method of downloading Conda on your system.

Step 1: Install Required Conda’s Libraries

First, ensure you have installed the following libraries required for Conda:

Required Conda’s Libraries
Required Conda’s Libraries

These libraries will help Conda run smoothly on your Ubuntu 24.04 (LTS) system.

Step 2: Download Conda’s Setup File

Next, download Conda’s setup file from the official Conda repository via the command:

Download Conda’s Setup File

The curl will download the particular version of Conda to your system.

Step 3: Verify Conda’s Setup File

The downloaded Conda file can be verified using this command:

Download Conda’s Setup File

You can crosscheck the Shasum with your Conda distribution.

How to Setup Conda on Ubuntu 24.04 (LTS)?

The below section will illustrate the setup process of Conda on your system.

Step 1: Install Conda

Utilize the “bash” command followed by the Conda setup file to install it on Ubuntu 24.04 (LTS):

Conda on Ubuntu 24.04
Conda on Ubuntu 24.04
Conda on Ubuntu 24.04

While installing the Conda files, answer the prompted question carefully.

How to Activate and Deactivate Conda on Ubuntu 24.04 (LTS)?

In this section, you will be able to activate and deactivate the Conda on your Ubuntu machine.

Deactivate Conda Base Environment

By default, the Conda base environment is activated after installation. You can deactivate it via the command:

Deactivate Conda Base Environment

You can replace the “False” with “True” if you want to activate the base environment by default.

Activate Conda Environment

Use the “source” command with the Conda path to activate the Conde base environment on your Ubuntu 24.04 (LTS):

Deactivate Conda Base Environment

When it activates, you will notice “base” in your prompt, as shown above.

Deactivate Conda Environment

The running Conda environment can be deactivated with the below command:

Deactivate Conda Base Environment

After deactivating the Conda environment, you will see the “base” has been removed from your prompt.

Check Conda Path

To check the Conda path on your system, use the “which” command, such as:

Deactivate Conda Base Environment

This command will display the full path of the Conda on your Ubuntu 24.04 (LTS).

How to Open Conda Navigator on Ubuntu 24.04 (LTS)?

This section is about how to open the graphical interface of Conda on the Ubuntu 24.04 machine.

Open Conda Navigator

To access various data science tools, such as Jupyter Notebook, VSCode, RStudio, and more, open the Conda graphical interface via the command:

Open Conda Navigator on Ubuntu 24.04

With Anaconda Navigator, you can easily manage environments, install packages, and utilize  useful tools without running commands:

Open Conda Navigator on Ubuntu 24.04

You can install or launch various tools by simply clicking on the button (install or launch) in the Anaconda Navigator. 

FAQs

How do I set up Conda on my Ubuntu 24.04 (LTS)?

For setting up Conda on Ubuntu 24.04 (LTS):

What is the “Conda Navigator”?

Conda Navigator is a graphical tool, which is used to easily manage environments, install packages, and utilize tools without executing commands from the terminal.

How to activate or deactivate Conda on Ubuntu 24.04 (LTS)?

To activate or deactivate Conda;

  • Open your Ubuntu command prompt.
  • Run the command to activate Conda: “source ~/anaconda3/bin/activate”.
  • To deactivate, execute the command: “conda deactivate”.

Conclusion

Install the updated version of Conda on your Ubuntu 24.04 (LTS) from the “.sh” file. You can use the “curl” manager to download the Conda setup file from the Conda official repository. To install the Conda (.sh) file, use the Bash command in the terminal.  

Scroll to Top