Categories: Ubuntu

How to Install Conda Command Line in Ubuntu Linux

Conda is a package management utility that simplifies the overall process of installing, updating, and modifying the software packages on your devices. You can use Conda in different operating systems including Windows and Linux. However, many Linux beginners always look for ways to get Conda in their system. So, this quick blog is all about the simple method to install the Conda command line in Ubuntu Linux.

How to Install the Conda Command Line in Ubuntu Linux

Before installing Conda, ensure that the existing packages are up-to-date.

sudo
Sponsored
apt update

 

Go to Conda’s official website and copy the link to the latest Miniconda (the Conda installer) installation script from the Linux section.


Open the terminal and then use the “wget” command to download the necessary script.

wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh

 
Here, replace the link with the link that you copied from the website.


Moreover, the output displays the file name, saving the script while downloading. In this case, the file name is “Miniconda3-latest-Linux-x86_64.sh”. Keep its note because we will need this file in the next step.


Now, you can open the script using the Bash command.

Sponsored
bash Miniconda3-latest-Linux-x86_64.sh

 
You’ll get a prompt to review the license as soon as you enter this command. You can press the “Enter” key to continue to the T&C document.


Hold the “Enter” key until you reach the document’s end. Then, type “yes” and press “Enter” to accept the terms.


Now, you can either specify a path to install Miniconda or press “Enter” to confirm the installation at the default path (recommended).


In this step, take note of onscreen instructions as it will help you in the future. Finally, type and enter “yes”. Conda is now installed in your system. You must exit the current terminal session and relaunch it to let the changes take effect.


Finally, verify the installed version of Conda by running the following command:

conda –version

 

Conclusion

Conda is a powerful package management tool that you can operate using the command line in Linux. Since its installation is confusing, this short guide explains the overall process thoroughly. It downloads the currently available version of the Miniconda installer from their official download page. After that, we run it to install the Conda command line. In the final step, we verify it by checking the installed version.

Ubuntu Server Admin

Recent Posts

AI in 2025: is it an agentic year?

2024 was the GenAI year. With new and more performant LLMs and a higher number…

20 hours ago

Canonical announces 12 year Kubernetes LTS

Canonical’s Kubernetes LTS (Long Term Support) will support FedRAMP compliance and receive at least 12…

2 days ago

Ubuntu Weekly Newsletter Issue 878

Welcome to the Ubuntu Weekly Newsletter, Issue 878 for the week of February 2 –…

3 days ago

How your feedback shapes the way we support open source software

At Canonical, we firmly believe that delivering an outstanding, customer-centric support experience is impossible without…

3 days ago

How To Install osTicket v1.14 On Ubuntu 20.04

I want to share how to install osTicket v1.14 for Ubuntu 20.04 server. osTicket written…

4 days ago

How To Install WordPress On Ubuntu 20.04

Now I want to share how to install WordPress on ubuntu 20.04 server. WordPress is…

4 days ago